|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.kernel.plugins.lazy.AbstractLazyInitializer
public abstract class AbstractLazyInitializer
Abstract lazy initializer.
Nested Class Summary | |
---|---|
protected class |
AbstractLazyInitializer.AbstractInvokeHandler
Abstract invoke handler. |
Constructor Summary | |
---|---|
AbstractLazyInitializer()
|
Method Summary | |
---|---|
protected Class<?> |
getBeanClass(KernelControllerContext context,
KernelConfigurator configurator,
ClassLoader cl)
Gte bean's class. |
protected org.jboss.beans.info.spi.BeanInfo |
getBeanInfo(Kernel kernel,
String bean)
Deprecated. not used any more |
protected static Class<?>[] |
getClasses(KernelConfigurator configurator,
Set<String> classNames,
ClassLoader cl)
Get classes from class names. |
protected KernelControllerContext |
getKernelControllerContext(Kernel kernel,
String bean)
Get kernel controller context. |
protected static String |
getLowerPropertyName(String name)
Get lower property name. |
Object |
initializeProxy(Kernel kernel,
String bean,
boolean exposeClass,
Set<String> interfaces,
org.jboss.metadata.spi.MetaData metaData)
Initialize lazy proxy. |
protected static boolean |
isGetter(Method minfo)
Is getter. |
protected static boolean |
isSetter(Method minfo)
Is setter. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.jboss.kernel.spi.lazy.LazyInitializer |
---|
initializeProxy |
Constructor Detail |
---|
public AbstractLazyInitializer()
Method Detail |
---|
protected static boolean isGetter(Method minfo)
minfo
- method
protected static boolean isSetter(Method minfo)
minfo
- method
protected static String getLowerPropertyName(String name)
name
- the name
protected KernelControllerContext getKernelControllerContext(Kernel kernel, String bean)
kernel
- the kernelbean
- bean name
IllegalArgumentException
- if context not found or not KernelControllerContextprotected Class<?> getBeanClass(KernelControllerContext context, KernelConfigurator configurator, ClassLoader cl) throws Throwable
context
- the kernel controller contextconfigurator
- the configuratorcl
- the classloader
Throwable
- for any error@Deprecated protected org.jboss.beans.info.spi.BeanInfo getBeanInfo(Kernel kernel, String bean)
kernel
- the kernelbean
- the bean name
protected static Class<?>[] getClasses(KernelConfigurator configurator, Set<String> classNames, ClassLoader cl) throws Throwable
configurator
- the configuratorclassNames
- the class namescl
- classloader
Throwable
- for any errorpublic Object initializeProxy(Kernel kernel, String bean, boolean exposeClass, Set<String> interfaces, org.jboss.metadata.spi.MetaData metaData) throws Throwable
LazyInitializer
initializeProxy
in interface LazyInitializer
kernel
- the kernelbean
- the bean to wrapexposeClass
- do we expose full classinterfaces
- interfaces to exposemetaData
- the metaData
Throwable
- for any error
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |