|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.kernel.spi.lazy.LazyProxyFactory
public class LazyProxyFactory
Create lazy proxy of a bean.
Constructor Summary | |
---|---|
LazyProxyFactory()
|
Method Summary | |
---|---|
protected static LazyInitializer |
createInitializer(KernelConfigurator configurator,
String initializerClassName)
Create initializer instance. |
protected static LazyInitializer |
getInitializer(KernelConfigurator configurator)
Get the LazyInitializater instance. |
static Object |
getProxy(Kernel kernel,
String bean,
boolean exposeClass,
Set<String> interfaces)
Create lazy proxy. |
protected static boolean |
testLibExists(String className)
Check if test class exists. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public LazyProxyFactory()
Method Detail |
---|
protected static LazyInitializer getInitializer(KernelConfigurator configurator)
configurator
- the configurator
protected static boolean testLibExists(String className)
className
- class name to test
protected static LazyInitializer createInitializer(KernelConfigurator configurator, String initializerClassName)
configurator
- the configuratorinitializerClassName
- initializer class name
public static Object getProxy(Kernel kernel, String bean, boolean exposeClass, Set<String> interfaces) throws Throwable
kernel
- the kernelbean
- the bean to wrapexposeClass
- do we expose full classinterfaces
- interfaces to expose
Throwable
- for any error
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |