org.jboss.kernel.spi.config
Interface KernelConfigurator

All Superinterfaces:
KernelEventEmitter, KernelObject
All Known Implementing Classes:
AbstractKernelConfigurator

public interface KernelConfigurator
extends KernelObject

A configurator.

The configurator is a utility class used by the controller to create and configure beans.

Version:
$Revision: 76224 $
Author:
Adrian Brock

Method Summary
 org.jboss.beans.info.spi.BeanInfo getBeanInfo(BeanMetaData metaData)
          Get the BeanInfo for some metadata
 org.jboss.beans.info.spi.BeanInfo getBeanInfo(Class<?> clazz)
          Get the BeanInfo
 org.jboss.beans.info.spi.BeanInfo getBeanInfo(Class<?> clazz, org.jboss.beans.info.spi.BeanAccessMode mode)
          Get the BeanInfo
 org.jboss.beans.info.spi.BeanInfo getBeanInfo(String className, ClassLoader cl)
          Get the BeanInfo
 org.jboss.beans.info.spi.BeanInfo getBeanInfo(String className, ClassLoader cl, org.jboss.beans.info.spi.BeanAccessMode mode)
          Get the BeanInfo
 org.jboss.beans.info.spi.BeanInfo getBeanInfo(org.jboss.reflect.spi.TypeInfo type)
          Get the BeanInfo
 org.jboss.beans.info.spi.BeanInfo getBeanInfo(org.jboss.reflect.spi.TypeInfo type, org.jboss.beans.info.spi.BeanAccessMode mode)
          Get the BeanInfo
 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
 org.jboss.joinpoint.spi.Joinpoint getConstructorJoinPoint(org.jboss.beans.info.spi.BeanInfo info)
          Get a constructor join point
 org.jboss.joinpoint.spi.Joinpoint getConstructorJoinPoint(org.jboss.beans.info.spi.BeanInfo info, ConstructorMetaData metaData, BeanMetaData beanMetaData)
          Get a constructor join point
 org.jboss.joinpoint.spi.Joinpoint getConstructorJoinPoint(org.jboss.beans.info.spi.BeanInfo info, ConstructorMetaData metaData, BeanMetaData beanMetaData, Object object)
          Get a constructor join point
 org.jboss.joinpoint.spi.Joinpoint getConstructorJoinPoint(BeanMetaData metaData)
          Get a constructor join point
 org.jboss.joinpoint.spi.MethodJoinpoint getMethodJoinPoint(org.jboss.beans.info.spi.BeanInfo info, ClassLoader cl, String name, List<ParameterMetaData> parameters, boolean isStatic, boolean isPublic)
          Get a method joinpoint
 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 BeanInfo

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 BeanInfo

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 BeanInfo

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 BeanInfo

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 BeanInfo

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 BeanInfo

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

getBeanInfo

org.jboss.beans.info.spi.BeanInfo getBeanInfo(BeanMetaData metaData)
                                              throws Throwable
Get the BeanInfo for some metadata

Parameters:
metaData - the metadata
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

getConstructorJoinPoint

org.jboss.joinpoint.spi.Joinpoint getConstructorJoinPoint(org.jboss.beans.info.spi.BeanInfo info)
                                                          throws Throwable
Get a constructor join point

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

getConstructorJoinPoint

org.jboss.joinpoint.spi.Joinpoint getConstructorJoinPoint(BeanMetaData metaData)
                                                          throws Throwable
Get a constructor join point

Parameters:
metaData - the bean metadata
Returns:
the join point
Throws:
Throwable - for any error

getConstructorJoinPoint

org.jboss.joinpoint.spi.Joinpoint getConstructorJoinPoint(org.jboss.beans.info.spi.BeanInfo info,
                                                          ConstructorMetaData metaData,
                                                          BeanMetaData beanMetaData)
                                                          throws Throwable
Get a constructor join point

Parameters:
info - the bean info
metaData - the constructor metadata
beanMetaData - the bean metadata
Returns:
the join point
Throws:
Throwable - for any error

getConstructorJoinPoint

org.jboss.joinpoint.spi.Joinpoint getConstructorJoinPoint(org.jboss.beans.info.spi.BeanInfo info,
                                                          ConstructorMetaData metaData,
                                                          BeanMetaData beanMetaData,
                                                          Object object)
                                                          throws Throwable
Get a constructor join point

Parameters:
info - the bean info
metaData - the constructor metadata
beanMetaData - the bean metadata
object - an opaque object
Returns:
the join point
Throws:
Throwable - for any error

getMethodJoinPoint

org.jboss.joinpoint.spi.MethodJoinpoint getMethodJoinPoint(org.jboss.beans.info.spi.BeanInfo info,
                                                           ClassLoader cl,
                                                           String name,
                                                           List<ParameterMetaData> parameters,
                                                           boolean isStatic,
                                                           boolean isPublic)
                                                           throws Throwable
Get a method joinpoint

Parameters:
info - the bean info
cl - the classloader
name - the method name
parameters - the parameter metadata
isStatic - whether the method is static
isPublic - whether the method is public
Returns:
the method join point
Throws:
Throwable - for any error


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