Package | Description |
---|---|
com.wewebu.ow.server.util | |
org.alfresco.wd.util.loader |
Modifier and Type | Method and Description |
---|---|
static <T> T |
OwLazyLoadingProxyHandler.createLazyLoadedInstance(OwLoader<T> loader,
Class<?>... interfaces)
Create a Proxy based on provided Loader, and corresponding interfaces.
|
static <T> InvocationHandler |
OwLazyLoadingProxyHandler.createProxyHandler(OwLoader<T> loader)
Will create an invocation handler which is loading the specific instance
based on the provided loader.
|
static <T> T |
OwLazyLoadingProxyHandler.createSingeltonLazyLoadedInstance(OwLoader<T> loader,
Class<T> type)
Create a specific instance based on provided loader, trying to instantiate the corresponding type only once.
|
Modifier and Type | Class and Description |
---|---|
class |
OwClassInstanceLoader<T,O extends T>
Loader based on Class.newInstance handling.
|
class |
OwSingeltonLoader<T>
Implementation of OwLoader which create an instance only once.
|
Constructor and Description |
---|
OwLoaderProxyHandler(OwLoader<T> loader) |
OwSingeltonLoader(OwLoader<T> loader) |
Copyright © 2014 Alfresco Business Solutions. All Rights Reserved.