JBoss Reflection 2.2.1.SP1

org.jboss.config.plugins
Class AbstractConfiguration

java.lang.Object
  extended by org.jboss.config.plugins.AbstractConfiguration
All Implemented Interfaces:
Configuration
Direct Known Subclasses:
BasicConfiguration, PropertyConfiguration

public abstract class AbstractConfiguration
extends Object
implements Configuration

Abstract configuration.

Version:
$Revision: 104319 $
Author:
Adrian Brock

Constructor Summary
AbstractConfiguration()
          Create an abstract configuration
 
Method Summary
protected abstract  BeanInfoFactory createDefaultBeanInfoFactory()
          Create the default bean info factory
protected abstract  ClassAdapterFactory createDefaultClassAdapterFactory()
          Create the default class adapter factory
protected abstract  JoinpointFactoryBuilder createDefaultJoinpointFactoryBuilder()
          Create the default joinpoint factory builder
protected abstract  TypeInfoFactory createDefaultTypeInfoFactory()
          Create the default type info factory
 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 typeInfo)
          Get the bean info
 BeanInfo getBeanInfo(TypeInfo typeInfo, BeanAccessMode accessMode)
          Get the bean info
protected  BeanInfoFactory getBeanInfoFactory()
          Get the BeanInfoFactory
protected  ClassAdapterFactory getClassAdapterFactory()
          Get the class adapter factory
 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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractConfiguration

public AbstractConfiguration()
Create an abstract configuration

Method Detail

getBeanInfo

public BeanInfo getBeanInfo(String className,
                            ClassLoader cl)
                     throws ClassNotFoundException
Description copied from interface: Configuration
Get the bean info

Specified by:
getBeanInfo in interface Configuration
Parameters:
className - the class name
cl - the classloader
Returns:
the bean info
Throws:
ClassNotFoundException - when the class could not be loaded

getBeanInfo

public BeanInfo getBeanInfo(Class<?> clazz)
Description copied from interface: Configuration
Get the bean info

Specified by:
getBeanInfo in interface Configuration
Parameters:
clazz - the class
Returns:
the bean info

getBeanInfo

public BeanInfo getBeanInfo(TypeInfo typeInfo)
Description copied from interface: Configuration
Get the bean info

Specified by:
getBeanInfo in interface Configuration
Parameters:
typeInfo - the type info
Returns:
the bean info

getBeanInfo

public BeanInfo getBeanInfo(String className,
                            ClassLoader cl,
                            BeanAccessMode accessMode)
                     throws ClassNotFoundException
Description copied from interface: Configuration
Get the bean info

Specified by:
getBeanInfo in interface Configuration
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

public BeanInfo getBeanInfo(Class<?> clazz,
                            BeanAccessMode accessMode)
Description copied from interface: Configuration
Get the bean info

Specified by:
getBeanInfo in interface Configuration
Parameters:
clazz - the class
accessMode - the bean access mode
Returns:
the bean info

getBeanInfo

public BeanInfo getBeanInfo(TypeInfo typeInfo,
                            BeanAccessMode accessMode)
Description copied from interface: Configuration
Get the bean info

Specified by:
getBeanInfo in interface Configuration
Parameters:
typeInfo - the type info
accessMode - the bean access mode
Returns:
the bean info

getClassInfo

public ClassInfo getClassInfo(String className,
                              ClassLoader cl)
                       throws ClassNotFoundException
Description copied from interface: Configuration
Get the class info for a class

Specified by:
getClassInfo in interface Configuration
Parameters:
className - the class name
cl - the classloader
Returns:
the class info
Throws:
ClassNotFoundException - when the class could not be loaded

getClassInfo

public ClassInfo getClassInfo(Class<?> clazz)
Description copied from interface: Configuration
Get the class info for a class

Specified by:
getClassInfo in interface Configuration
Parameters:
clazz - the class
Returns:
the class info

getTypeInfo

public TypeInfo getTypeInfo(Type type)
Description copied from interface: Configuration
Get the type info for a type

Specified by:
getTypeInfo in interface Configuration
Parameters:
type - the type
Returns:
the type info

getTypeInfo

public TypeInfo getTypeInfo(String type,
                            ClassLoader cl)
                     throws ClassNotFoundException
Description copied from interface: Configuration
Get the type info for a type

Specified by:
getTypeInfo in interface Configuration
Parameters:
type - the type
cl - the classloader
Returns:
the type info
Throws:
ClassNotFoundException - when the class could not be loaded

getTypeInfoFactory

public TypeInfoFactory getTypeInfoFactory()
Description copied from interface: Configuration
Get the type info factory

Specified by:
getTypeInfoFactory in interface Configuration
Returns:
the TypeInfoFactory

getJoinpointFactoryBuilder

public JoinpointFactoryBuilder getJoinpointFactoryBuilder()
Description copied from interface: Configuration
Get the joinpoint factory builder

Specified by:
getJoinpointFactoryBuilder in interface Configuration
Returns:
the JoinpointFactoryBuilder

setBeanInfoFactory

public void setBeanInfoFactory(BeanInfoFactory beanInfoFactory)
Description copied from interface: Configuration
Set the beanInfoFactory.

Specified by:
setBeanInfoFactory in interface Configuration
Parameters:
beanInfoFactory - the beanInfoFactory.

setClassAdapterFactory

public void setClassAdapterFactory(ClassAdapterFactory classAdapterFactory)
Description copied from interface: Configuration
Set the classAdapterFactory.

Specified by:
setClassAdapterFactory in interface Configuration
Parameters:
classAdapterFactory - the classAdapterFactory.

setTypeInfoFactory

public void setTypeInfoFactory(TypeInfoFactory typeInfoFactory)
Description copied from interface: Configuration
Set the typeInfoFactory.

Specified by:
setTypeInfoFactory in interface Configuration
Parameters:
typeInfoFactory - the typeInfoFactory.

setJoinpointFactoryBuilder

public void setJoinpointFactoryBuilder(JoinpointFactoryBuilder joinpointFactoryBuilder)
Description copied from interface: Configuration
Set the joinpointFactoryBuilder.

Specified by:
setJoinpointFactoryBuilder in interface Configuration
Parameters:
joinpointFactoryBuilder - the joinpointFactoryBuilder.

getBeanInfoFactory

protected BeanInfoFactory getBeanInfoFactory()
Get the BeanInfoFactory

Returns:
the BeanInfoFactory

getClassAdapterFactory

protected ClassAdapterFactory getClassAdapterFactory()
Get the class adapter factory

Returns:
the ClassAdapterFactory

createDefaultBeanInfoFactory

protected abstract BeanInfoFactory createDefaultBeanInfoFactory()
                                                         throws Throwable
Create the default bean info factory

Returns:
the bean info factory
Throws:
Throwable - for any error

createDefaultClassAdapterFactory

protected abstract ClassAdapterFactory createDefaultClassAdapterFactory()
                                                                 throws Throwable
Create the default class adapter factory

Returns:
the class adapter factory
Throws:
Throwable - for any error

createDefaultTypeInfoFactory

protected abstract TypeInfoFactory createDefaultTypeInfoFactory()
                                                         throws Throwable
Create the default type info factory

Returns:
the type info factory
Throws:
Throwable - for any error

createDefaultJoinpointFactoryBuilder

protected abstract JoinpointFactoryBuilder createDefaultJoinpointFactoryBuilder()
                                                                         throws Throwable
Create the default joinpoint factory builder

Returns:
the joinpoint factory builder
Throws:
Throwable - for any error

JBoss Reflection 2.2.1.SP1

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