org.jboss.kernel.plugins.config
Class AbstractKernelConfig

java.lang.Object
  extended by org.jboss.kernel.plugins.event.AbstractEventEmitter
      extended by org.jboss.kernel.plugins.AbstractKernelObject
          extended by org.jboss.kernel.plugins.config.AbstractKernelConfig
All Implemented Interfaces:
KernelConfig, KernelEventEmitter, KernelObject
Direct Known Subclasses:
PropertyKernelConfig

public abstract class AbstractKernelConfig
extends AbstractKernelObject
implements KernelConfig

Abstract Kernel configuration.

Version:
$Revision: 42190 $
Author:
Adrian Brock, Les A. Hazlewood

Field Summary
protected  org.jboss.config.spi.Configuration configuration
          The configuration
 
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
AbstractKernelConfig(org.jboss.config.spi.Configuration configuration)
          Create an abstract kernel configuration
 
Method Summary
 org.jboss.beans.info.spi.BeanInfo getBeanInfo(Class clazz)
          Get the bean info
 org.jboss.beans.info.spi.BeanInfo getBeanInfo(String className, ClassLoader cl)
          Get the bean info
 org.jboss.beans.info.spi.BeanInfo getBeanInfo(org.jboss.reflect.spi.TypeInfo typeInfo)
          Get the bean info
 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
 
Methods inherited from class org.jboss.kernel.plugins.AbstractKernelObject
getKernel, setKernel
 
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.config.KernelConfig
createKernelBus, createKernelConfigurator, createKernelController, createKernelEventManager, createKernelInitializer, createKernelMetaDataRepository, createKernelRegistry
 
Methods inherited from interface org.jboss.kernel.spi.KernelObject
getKernel, setKernel
 
Methods inherited from interface org.jboss.kernel.spi.event.KernelEventEmitter
fireKernelEvent, registerListener, unregisterListener
 

Field Detail

configuration

protected org.jboss.config.spi.Configuration configuration
The configuration

Constructor Detail

AbstractKernelConfig

public AbstractKernelConfig(org.jboss.config.spi.Configuration configuration)
Create an abstract kernel configuration

Parameters:
configuration - the configuration
Method Detail

getBeanInfo

public org.jboss.beans.info.spi.BeanInfo getBeanInfo(String className,
                                                     ClassLoader cl)
                                              throws Throwable
Description copied from interface: KernelConfig
Get the bean info

Specified by:
getBeanInfo in interface KernelConfig
Parameters:
className - the class name
cl - the classloader
Returns:
the bean info
Throws:
Throwable - for any error

getBeanInfo

public org.jboss.beans.info.spi.BeanInfo getBeanInfo(Class clazz)
                                              throws Throwable
Description copied from interface: KernelConfig
Get the bean info

Specified by:
getBeanInfo in interface KernelConfig
Parameters:
clazz - the class
Returns:
the bean info
Throws:
Throwable - for any error

getBeanInfo

public org.jboss.beans.info.spi.BeanInfo getBeanInfo(org.jboss.reflect.spi.TypeInfo typeInfo)
                                              throws Throwable
Description copied from interface: KernelConfig
Get the bean info

Specified by:
getBeanInfo in interface KernelConfig
Parameters:
typeInfo - the type info
Returns:
the bean info
Throws:
Throwable - for any error

getClassInfo

public org.jboss.reflect.spi.ClassInfo getClassInfo(String className,
                                                    ClassLoader cl)
                                             throws Throwable
Description copied from interface: KernelConfig
Get the class info for a class

Specified by:
getClassInfo in interface KernelConfig
Parameters:
className - the class name
cl - the classloader
Returns:
the class info
Throws:
Throwable - for any error

getClassInfo

public org.jboss.reflect.spi.ClassInfo getClassInfo(Class clazz)
                                             throws Throwable
Description copied from interface: KernelConfig
Get the class info for a class

Specified by:
getClassInfo in interface KernelConfig
Parameters:
clazz - the class
Returns:
the class info
Throws:
Throwable - for any error


Copyright ? 2007 JBoss Inc.. All Rights Reserved.