|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.kernel.plugins.event.AbstractEventEmitter
org.jboss.kernel.plugins.AbstractKernelObject
org.jboss.kernel.plugins.config.AbstractKernelConfigurator
public class AbstractKernelConfigurator
Abstract Kernel configurator.
Field Summary | |
---|---|
protected KernelConfig |
config
The kernel config |
Fields inherited from class org.jboss.kernel.plugins.AbstractKernelObject |
---|
kernel, log |
Fields inherited from class org.jboss.kernel.plugins.event.AbstractEventEmitter |
---|
eventListenerRegistry, NULL, NULL_FILTER |
Constructor Summary | |
---|---|
AbstractKernelConfigurator()
Create an abstract kernel configurator |
Method Summary | |
---|---|
org.jboss.beans.info.spi.BeanInfo |
getBeanInfo(BeanMetaData metaData)
Get the BeanInfo for some metadata |
org.jboss.beans.info.spi.BeanInfo |
getBeanInfo(Class<?> clazz)
Get the BeanInfo |
org.jboss.beans.info.spi.BeanInfo |
getBeanInfo(Class<?> clazz,
org.jboss.beans.info.spi.BeanAccessMode mode)
Get the BeanInfo |
org.jboss.beans.info.spi.BeanInfo |
getBeanInfo(String className,
ClassLoader cl)
Get the BeanInfo |
org.jboss.beans.info.spi.BeanInfo |
getBeanInfo(String className,
ClassLoader cl,
org.jboss.beans.info.spi.BeanAccessMode mode)
Get the BeanInfo |
org.jboss.beans.info.spi.BeanInfo |
getBeanInfo(org.jboss.reflect.spi.TypeInfo type)
Get the BeanInfo |
org.jboss.beans.info.spi.BeanInfo |
getBeanInfo(org.jboss.reflect.spi.TypeInfo type,
org.jboss.beans.info.spi.BeanAccessMode mode)
Get the BeanInfo |
org.jboss.reflect.spi.ClassInfo |
getClassInfo(Class<?> clazz)
Get the class info for a class |
org.jboss.reflect.spi.ClassInfo |
getClassInfo(String className,
ClassLoader cl)
Get the class info for a class |
org.jboss.joinpoint.spi.Joinpoint |
getConstructorJoinPoint(org.jboss.beans.info.spi.BeanInfo info)
Get a constructor join point |
org.jboss.joinpoint.spi.Joinpoint |
getConstructorJoinPoint(org.jboss.beans.info.spi.BeanInfo info,
ConstructorMetaData metaData,
BeanMetaData beanMetaData)
Get a constructor join point |
org.jboss.joinpoint.spi.Joinpoint |
getConstructorJoinPoint(org.jboss.beans.info.spi.BeanInfo info,
ConstructorMetaData metaData,
BeanMetaData beanMetaData,
Object object)
Get a constructor join point |
org.jboss.joinpoint.spi.Joinpoint |
getConstructorJoinPoint(BeanMetaData metaData)
Get a constructor join point |
org.jboss.joinpoint.spi.MethodJoinpoint |
getMethodJoinPoint(org.jboss.beans.info.spi.BeanInfo info,
ClassLoader cl,
String name,
List<ParameterMetaData> parameters,
boolean isStatic,
boolean isPublic)
Get a method joinpoint |
org.jboss.reflect.spi.TypeInfo |
getTypeInfo(Class<?> clazz)
Get the type info for a class |
org.jboss.reflect.spi.TypeInfo |
getTypeInfo(String className,
ClassLoader cl)
Get the type info for a class |
void |
setKernel(Kernel kernel)
Set the kernel. |
Methods inherited from class org.jboss.kernel.plugins.AbstractKernelObject |
---|
getKernel |
Methods inherited from class org.jboss.kernel.plugins.event.AbstractEventEmitter |
---|
createEvent, fireKernelEvent, fireKernelEvent, hasListeners, nextEmitterSequence, registerListener, unregisterListener |
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.KernelObject |
---|
getKernel |
Methods inherited from interface org.jboss.kernel.spi.event.KernelEventEmitter |
---|
fireKernelEvent, registerListener, unregisterListener |
Field Detail |
---|
protected KernelConfig config
Constructor Detail |
---|
public AbstractKernelConfigurator() throws Exception
Exception
- for any errorMethod Detail |
---|
public org.jboss.beans.info.spi.BeanInfo getBeanInfo(String className, ClassLoader cl) throws Throwable
KernelConfigurator
getBeanInfo
in interface KernelConfigurator
className
- the class namecl
- the classloader
Throwable
- for any errorpublic org.jboss.beans.info.spi.BeanInfo getBeanInfo(Class<?> clazz) throws Throwable
KernelConfigurator
getBeanInfo
in interface KernelConfigurator
clazz
- the class
Throwable
- for any errorpublic org.jboss.beans.info.spi.BeanInfo getBeanInfo(org.jboss.reflect.spi.TypeInfo type) throws Throwable
KernelConfigurator
getBeanInfo
in interface KernelConfigurator
type
- the type info
Throwable
- for any errorpublic org.jboss.beans.info.spi.BeanInfo getBeanInfo(String className, ClassLoader cl, org.jboss.beans.info.spi.BeanAccessMode mode) throws Throwable
KernelConfigurator
getBeanInfo
in interface KernelConfigurator
className
- the class namecl
- the classloadermode
- the access mode
Throwable
- for any errorpublic org.jboss.beans.info.spi.BeanInfo getBeanInfo(Class<?> clazz, org.jboss.beans.info.spi.BeanAccessMode mode) throws Throwable
KernelConfigurator
getBeanInfo
in interface KernelConfigurator
clazz
- the classmode
- the access mode
Throwable
- for any errorpublic org.jboss.beans.info.spi.BeanInfo getBeanInfo(org.jboss.reflect.spi.TypeInfo type, org.jboss.beans.info.spi.BeanAccessMode mode) throws Throwable
KernelConfigurator
getBeanInfo
in interface KernelConfigurator
type
- the type infomode
- the access mode
Throwable
- for any errorpublic org.jboss.beans.info.spi.BeanInfo getBeanInfo(BeanMetaData metaData) throws Throwable
KernelConfigurator
getBeanInfo
in interface KernelConfigurator
metaData
- the metadata
Throwable
- for any errorpublic org.jboss.reflect.spi.TypeInfo getTypeInfo(String className, ClassLoader cl) throws Throwable
KernelConfigurator
getTypeInfo
in interface KernelConfigurator
className
- the class namecl
- the classloader
Throwable
- for any errorpublic org.jboss.reflect.spi.TypeInfo getTypeInfo(Class<?> clazz) throws Throwable
KernelConfigurator
getTypeInfo
in interface KernelConfigurator
clazz
- the class
Throwable
- for any errorpublic org.jboss.reflect.spi.ClassInfo getClassInfo(String className, ClassLoader cl) throws Throwable
KernelConfigurator
getClassInfo
in interface KernelConfigurator
className
- the class namecl
- the classloader
Throwable
- for any errorpublic org.jboss.reflect.spi.ClassInfo getClassInfo(Class<?> clazz) throws Throwable
KernelConfigurator
getClassInfo
in interface KernelConfigurator
clazz
- the class
Throwable
- for any errorpublic org.jboss.joinpoint.spi.Joinpoint getConstructorJoinPoint(org.jboss.beans.info.spi.BeanInfo info) throws Throwable
KernelConfigurator
getConstructorJoinPoint
in interface KernelConfigurator
info
- the bean info
Throwable
- for any errorpublic org.jboss.joinpoint.spi.Joinpoint getConstructorJoinPoint(BeanMetaData metaData) throws Throwable
KernelConfigurator
getConstructorJoinPoint
in interface KernelConfigurator
metaData
- the bean metadata
Throwable
- for any errorpublic org.jboss.joinpoint.spi.Joinpoint getConstructorJoinPoint(org.jboss.beans.info.spi.BeanInfo info, ConstructorMetaData metaData, BeanMetaData beanMetaData) throws Throwable
KernelConfigurator
getConstructorJoinPoint
in interface KernelConfigurator
info
- the bean infometaData
- the constructor metadatabeanMetaData
- the bean metadata
Throwable
- for any errorpublic org.jboss.joinpoint.spi.Joinpoint getConstructorJoinPoint(org.jboss.beans.info.spi.BeanInfo info, ConstructorMetaData metaData, BeanMetaData beanMetaData, Object object) throws Throwable
KernelConfigurator
getConstructorJoinPoint
in interface KernelConfigurator
info
- the bean infometaData
- the constructor metadatabeanMetaData
- the bean metadataobject
- an opaque object
Throwable
- for any errorpublic org.jboss.joinpoint.spi.MethodJoinpoint getMethodJoinPoint(org.jboss.beans.info.spi.BeanInfo info, ClassLoader cl, String name, List<ParameterMetaData> parameters, boolean isStatic, boolean isPublic) throws Throwable
KernelConfigurator
getMethodJoinPoint
in interface KernelConfigurator
info
- the bean infocl
- the classloadername
- the method nameparameters
- the parameter metadataisStatic
- whether the method is staticisPublic
- whether the method is public
Throwable
- for any errorpublic void setKernel(Kernel kernel) throws Throwable
KernelObject
setKernel
in interface KernelObject
setKernel
in class AbstractKernelObject
kernel
- the kernel
Throwable
- for any error
SecurityException
- if the you don't have KernelPermission('configure')
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |