public interface Configuration
Provides configuration options.
Modifier and Type | Method and Description |
---|---|
BeanInfo |
getBeanInfo(Class<?> clazz)
Get the bean info
|
BeanInfo |
getBeanInfo(Class<?> clazz,
BeanAccessMode accessMode)
Get the bean info
|
BeanInfo |
getBeanInfo(String className,
ClassLoader cl)
Get the bean info
|
BeanInfo |
getBeanInfo(String className,
ClassLoader cl,
BeanAccessMode accessMode)
Get the bean info
|
BeanInfo |
getBeanInfo(TypeInfo type)
Get the bean info
|
BeanInfo |
getBeanInfo(TypeInfo type,
BeanAccessMode accessMode)
Get the bean info
|
ClassInfo |
getClassInfo(Class<?> clazz)
Get the class info for a class
|
ClassInfo |
getClassInfo(String className,
ClassLoader cl)
Get the class info for a class
|
JoinpointFactoryBuilder |
getJoinpointFactoryBuilder()
Get the joinpoint factory builder
|
TypeInfo |
getTypeInfo(String type,
ClassLoader cl)
Get the type info for a type
|
TypeInfo |
getTypeInfo(Type type)
Get the type info for a type
|
TypeInfoFactory |
getTypeInfoFactory()
Get the type info factory
|
void |
setBeanInfoFactory(BeanInfoFactory beanInfoFactory)
Set the beanInfoFactory.
|
void |
setClassAdapterFactory(ClassAdapterFactory classAdapterFactory)
Set the classAdapterFactory.
|
void |
setJoinpointFactoryBuilder(JoinpointFactoryBuilder joinpointFactoryBuilder)
Set the joinpointFactoryBuilder.
|
void |
setTypeInfoFactory(TypeInfoFactory typeInfoFactory)
Set the typeInfoFactory.
|
BeanInfo getBeanInfo(String className, ClassLoader cl) throws ClassNotFoundException
className
- the class namecl
- the classloaderClassNotFoundException
- when the class could not be loadedBeanInfo getBeanInfo(Class<?> clazz)
clazz
- the classBeanInfo getBeanInfo(TypeInfo type)
type
- the type infoBeanInfo getBeanInfo(String className, ClassLoader cl, BeanAccessMode accessMode) throws ClassNotFoundException
className
- the class namecl
- the classloaderaccessMode
- the bean access modeClassNotFoundException
- when the class could not be loadedBeanInfo getBeanInfo(Class<?> clazz, BeanAccessMode accessMode)
clazz
- the classaccessMode
- the bean access modeBeanInfo getBeanInfo(TypeInfo type, BeanAccessMode accessMode)
type
- the type infoaccessMode
- the bean access modeClassInfo getClassInfo(String className, ClassLoader cl) throws ClassNotFoundException
className
- the class namecl
- the classloaderClassNotFoundException
- when the class could not be loadedClassInfo getClassInfo(Class<?> clazz)
clazz
- the classTypeInfo getTypeInfo(Type type)
type
- the typeIllegalArgumentException
- for a null typeTypeInfo getTypeInfo(String type, ClassLoader cl) throws ClassNotFoundException
type
- the typecl
- the classloaderIllegalArgumentException
- for a null typeClassNotFoundException
- when the class could not be loadedTypeInfoFactory getTypeInfoFactory()
JoinpointFactoryBuilder getJoinpointFactoryBuilder()
void setBeanInfoFactory(BeanInfoFactory beanInfoFactory)
beanInfoFactory
- the beanInfoFactory.SecurityException
- if you don't have the ConfigurationPermissionvoid setClassAdapterFactory(ClassAdapterFactory classAdapterFactory)
classAdapterFactory
- the classAdapterFactory.SecurityException
- if you don't have the ConfigurationPermissionvoid setTypeInfoFactory(TypeInfoFactory typeInfoFactory)
typeInfoFactory
- the typeInfoFactory.SecurityException
- if you don't have the ConfigurationPermissionvoid setJoinpointFactoryBuilder(JoinpointFactoryBuilder joinpointFactoryBuilder)
joinpointFactoryBuilder
- the joinpointFactoryBuilder.SecurityException
- if you don't have the ConfigurationPermissionCopyright © 2015 JBoss by Red Hat. All rights reserved.