| java.lang.Object org.ow2.easybeans.enhancer.Enhancer org.ow2.easybeans.tests.enhancer.ClassesEnhancer
ClassesEnhancer | final public class ClassesEnhancer extends Enhancer (Code) | | Enhance a set of given classes.
Rely on core enhancer.
author: Florent Benoit |
Inner Class :public static enum TYPE | |
EXT_CLASS | final public static String EXT_CLASS(Code) | | Class extension.
|
ClassesEnhancer | public ClassesEnhancer(ClassLoader loader, EjbJarAnnotationMetadata ejbJarAnnotationMetadata)(Code) | | Creates an new enhancer.
Parameters: loader - classloader where to define enhanced classes. Parameters: ejbJarAnnotationMetadata - object with references to the metadata. |
enhance | public static void enhance(List<String> classesToEnhance, TYPE type) throws Exception(Code) | | Enhance the classes simulating a Bean.
Parameters: classesToEnhance - the list of class on which run class adapters Parameters: type - the type of adapter to run. throws: Exception - if it fails |
enhanceNewClassLoader | public static void enhanceNewClassLoader(List<String> classesToEnhance, TYPE type) throws Exception(Code) | | Enhance the classes simulating a Bean. It uses a child classloder of the current thread.
Parameters: classesToEnhance - the list of class on which run class adapters Parameters: type - the type of adapter to run. throws: Exception - if it fails |
|
|