JBoss Reflection 2.2.1.SP1

org.jboss.config.spi
Interface Configuration

All Known Implementing Classes:
AbstractConfiguration, BasicConfiguration, PropertyConfiguration

public interface Configuration

Configuration.

Provides configuration options.

Version:
$Revision: 104319 $
Author:
Adrian Brock

Method Summary
 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.
 

Method Detail

getBeanInfo

BeanInfo getBeanInfo(String className,
                     ClassLoader cl)
                     throws ClassNotFoundException
Get the bean info

Parameters:
className - the class name
cl - the classloader
Returns:
the bean info
Throws:
ClassNotFoundException - when the class could not be loaded

getBeanInfo

BeanInfo getBeanInfo(Class<?> clazz)
Get the bean info

Parameters:
clazz - the class
Returns:
the bean info

getBeanInfo

BeanInfo getBeanInfo(TypeInfo type)
Get the bean info

Parameters:
type - the type info
Returns:
the bean info

getBeanInfo

BeanInfo getBeanInfo(String className,
                     ClassLoader cl,
                     BeanAccessMode accessMode)
                     throws ClassNotFoundException
Get the bean info

Parameters:
className - the class name
cl - the classloader
accessMode - the bean access mode
Returns:
the bean info
Throws:
ClassNotFoundException - when the class could not be loaded

getBeanInfo

BeanInfo getBeanInfo(Class<?> clazz,
                     BeanAccessMode accessMode)
Get the bean info

Parameters:
clazz - the class
accessMode - the bean access mode
Returns:
the bean info

getBeanInfo

BeanInfo getBeanInfo(TypeInfo type,
                     BeanAccessMode accessMode)
Get the bean info

Parameters:
type - the type info
accessMode - the bean access mode
Returns:
the bean info

getClassInfo

ClassInfo getClassInfo(String className,
                       ClassLoader cl)
                       throws ClassNotFoundException
Get the class info for a class

Parameters:
className - the class name
cl - the classloader
Returns:
the class info
Throws:
ClassNotFoundException - when the class could not be loaded

getClassInfo

ClassInfo getClassInfo(Class<?> clazz)
Get the class info for a class

Parameters:
clazz - the class
Returns:
the class info

getTypeInfo

TypeInfo getTypeInfo(Type type)
Get the type info for a type

Parameters:
type - the type
Returns:
the type info
Throws:
IllegalArgumentException - for a null type

getTypeInfo

TypeInfo getTypeInfo(String type,
                     ClassLoader cl)
                     throws ClassNotFoundException
Get the type info for a type

Parameters:
type - the type
cl - the classloader
Returns:
the type info
Throws:
IllegalArgumentException - for a null type
ClassNotFoundException - when the class could not be loaded

getTypeInfoFactory

TypeInfoFactory getTypeInfoFactory()
Get the type info factory

Returns:
the TypeInfoFactory

getJoinpointFactoryBuilder

JoinpointFactoryBuilder getJoinpointFactoryBuilder()
Get the joinpoint factory builder

Returns:
the JoinpointFactoryBuilder

setBeanInfoFactory

void setBeanInfoFactory(BeanInfoFactory beanInfoFactory)
Set the beanInfoFactory.

Parameters:
beanInfoFactory - the beanInfoFactory.
Throws:
SecurityException - if you don't have the ConfigurationPermission

setClassAdapterFactory

void setClassAdapterFactory(ClassAdapterFactory classAdapterFactory)
Set the classAdapterFactory.

Parameters:
classAdapterFactory - the classAdapterFactory.
Throws:
SecurityException - if you don't have the ConfigurationPermission

setTypeInfoFactory

void setTypeInfoFactory(TypeInfoFactory typeInfoFactory)
Set the typeInfoFactory.

Parameters:
typeInfoFactory - the typeInfoFactory.
Throws:
SecurityException - if you don't have the ConfigurationPermission

setJoinpointFactoryBuilder

void setJoinpointFactoryBuilder(JoinpointFactoryBuilder joinpointFactoryBuilder)
Set the joinpointFactoryBuilder.

Parameters:
joinpointFactoryBuilder - the joinpointFactoryBuilder.
Throws:
SecurityException - if you don't have the ConfigurationPermission

JBoss Reflection 2.2.1.SP1

Copyright © 2012 JBoss, a division of Red Hat, Inc.. All Rights Reserved.