|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.objectweb.easybeans.tests.common.enhancer.ClassesEnhancer
public final class ClassesEnhancer
Enhance a set of given classes.
Nested Class Summary | |
---|---|
static class |
ClassesEnhancer.TYPE
Type available (for adding adapter). |
Field Summary | |
---|---|
static java.lang.String |
EXT_CLASS
Class extension. |
Constructor Summary | |
---|---|
private |
ClassesEnhancer()
Utility class, no constructor. |
Method Summary | |
---|---|
static void |
enhance(java.util.List<java.lang.String> classesToEnhance,
ClassesEnhancer.TYPE type)
Enhance the classes simulating a Bean. |
private static void |
loadClass(java.lang.String className,
byte[] b)
Loads/defines a class in the current class loader. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String EXT_CLASS
Constructor Detail |
---|
private ClassesEnhancer()
Method Detail |
---|
public static void enhance(java.util.List<java.lang.String> classesToEnhance, ClassesEnhancer.TYPE type) throws java.lang.Exception
classesToEnhance
- the list of class on which run class adapterstype
- the type of adapter to run.
java.lang.Exception
- if it failsprivate static void loadClass(java.lang.String className, byte[] b)
className
- the name of the classb
- the bytecode of the class to define
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |