org.jboss.kernel.spi.config
Interface KernelConfig

All Superinterfaces:
KernelEventEmitter, KernelObject
All Known Implementing Classes:
AbstractKernelConfig, PropertyKernelConfig

public interface KernelConfig
extends KernelObject

Kernel Configuration.

Provides kernel configuration options.

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

Method Summary
 KernelBeanValidator createKernelBeanValidator()
          Create kernel bean validator.
 KernelBus createKernelBus()
          Create a kernel bus
 KernelConfigurator createKernelConfigurator()
          Create a kernel configurator
 KernelController createKernelController()
          Create a kernel controller
 KernelEventManager createKernelEventManager()
          Create a kernel event manager
 KernelInitializer createKernelInitializer()
          Create a kernel initializer
 KernelMetaDataRepository createKernelMetaDataRepository()
          Create a meta data repository
 KernelRegistry createKernelRegistry()
          Create a kernel registry
 org.jboss.beans.info.spi.BeanInfo getBeanInfo(Class<?> clazz)
          Get the bean info
 org.jboss.beans.info.spi.BeanInfo getBeanInfo(Class<?> clazz, org.jboss.beans.info.spi.BeanAccessMode mode)
          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(String className, ClassLoader cl, org.jboss.beans.info.spi.BeanAccessMode mode)
          Get the bean info
 org.jboss.beans.info.spi.BeanInfo getBeanInfo(org.jboss.reflect.spi.TypeInfo type)
          Get the bean info
 org.jboss.beans.info.spi.BeanInfo getBeanInfo(org.jboss.reflect.spi.TypeInfo type, org.jboss.beans.info.spi.BeanAccessMode mode)
          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
 DependencyBuilder getDependencyBuilder()
          Get the dependency builder
 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
 
Methods inherited from interface org.jboss.kernel.spi.KernelObject
getKernel, setKernel
 
Methods inherited from interface org.jboss.kernel.spi.event.KernelEventEmitter
fireKernelEvent, registerListener, unregisterListener
 

Method Detail

getBeanInfo

org.jboss.beans.info.spi.BeanInfo getBeanInfo(String className,
                                              ClassLoader cl)
                                              throws Throwable
Get the bean info

Parameters:
className - the class name
cl - the classloader
Returns:
the bean info
Throws:
Throwable - for any error

getBeanInfo

org.jboss.beans.info.spi.BeanInfo getBeanInfo(Class<?> clazz)
                                              throws Throwable
Get the bean info

Parameters:
clazz - the class
Returns:
the bean info
Throws:
Throwable - for any error

getBeanInfo

org.jboss.beans.info.spi.BeanInfo getBeanInfo(org.jboss.reflect.spi.TypeInfo type)
                                              throws Throwable
Get the bean info

Parameters:
type - the type info
Returns:
the bean info
Throws:
Throwable - for any error

getBeanInfo

org.jboss.beans.info.spi.BeanInfo getBeanInfo(String className,
                                              ClassLoader cl,
                                              org.jboss.beans.info.spi.BeanAccessMode mode)
                                              throws Throwable
Get the bean info

Parameters:
className - the class name
cl - the classloader
mode - the access mode
Returns:
the bean info
Throws:
Throwable - for any error

getBeanInfo

org.jboss.beans.info.spi.BeanInfo getBeanInfo(Class<?> clazz,
                                              org.jboss.beans.info.spi.BeanAccessMode mode)
                                              throws Throwable
Get the bean info

Parameters:
clazz - the class
mode - the access mode
Returns:
the bean info
Throws:
Throwable - for any error

getBeanInfo

org.jboss.beans.info.spi.BeanInfo getBeanInfo(org.jboss.reflect.spi.TypeInfo type,
                                              org.jboss.beans.info.spi.BeanAccessMode mode)
                                              throws Throwable
Get the bean info

Parameters:
type - the type info
mode - the access mode
Returns:
the bean info
Throws:
Throwable - for any error

getTypeInfo

org.jboss.reflect.spi.TypeInfo getTypeInfo(String className,
                                           ClassLoader cl)
                                           throws Throwable
Get the type info for a class

Parameters:
className - the class name
cl - the classloader
Returns:
the type info
Throws:
Throwable - for any error

getTypeInfo

org.jboss.reflect.spi.TypeInfo getTypeInfo(Class<?> clazz)
                                           throws Throwable
Get the type info for a class

Parameters:
clazz - the class
Returns:
the type info
Throws:
Throwable - for any error

getClassInfo

org.jboss.reflect.spi.ClassInfo getClassInfo(String className,
                                             ClassLoader cl)
                                             throws Throwable
Get the class info for a class

Parameters:
className - the class name
cl - the classloader
Returns:
the class info
Throws:
Throwable - for any error

getClassInfo

org.jboss.reflect.spi.ClassInfo getClassInfo(Class<?> clazz)
                                             throws Throwable
Get the class info for a class

Parameters:
clazz - the class
Returns:
the class info
Throws:
Throwable - for any error

createKernelBus

KernelBus createKernelBus()
                          throws Throwable
Create a kernel bus

Returns:
the kernel bus
Throws:
Throwable - for any error

createKernelConfigurator

KernelConfigurator createKernelConfigurator()
                                            throws Throwable
Create a kernel configurator

Returns:
the kernel configurator
Throws:
Throwable - for any error

createKernelController

KernelController createKernelController()
                                        throws Throwable
Create a kernel controller

Returns:
the kernel controller
Throws:
Throwable - for any error

createKernelEventManager

KernelEventManager createKernelEventManager()
                                            throws Throwable
Create a kernel event manager

Returns:
the kernel event manager
Throws:
Throwable - for any error

createKernelInitializer

KernelInitializer createKernelInitializer()
                                          throws Throwable
Create a kernel initializer

Returns:
the kernel initializer
Throws:
Throwable - for any error

createKernelRegistry

KernelRegistry createKernelRegistry()
                                    throws Throwable
Create a kernel registry

Returns:
the kernel registry
Throws:
Throwable - for any error

createKernelMetaDataRepository

KernelMetaDataRepository createKernelMetaDataRepository()
                                                        throws Throwable
Create a meta data repository

Returns:
the meta data repository
Throws:
Throwable - for any error

createKernelBeanValidator

KernelBeanValidator createKernelBeanValidator()
                                              throws Throwable
Create kernel bean validator.

Returns:
the kernel bean validator
Throws:
Throwable - for any error

getDependencyBuilder

DependencyBuilder getDependencyBuilder()
                                       throws Throwable
Get the dependency builder

Returns:
the dependency builder
Throws:
Throwable - for any error


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