|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface EZBClassLoader
Interface of an EasyBeans classloader which allow to add class transformers and class definitions.
| Method Summary | |
|---|---|
void |
addClassDefinition(String className,
byte[] bytecode)
Adds the bytecode for a given class. |
void |
addTransformer(javax.persistence.spi.ClassTransformer transformer)
Add a transformer supplied by the provider that will be called for every new class definition or class redefinition that gets loaded by the loader returned by the PersistenceInfo.getClassLoader method. |
ClassLoader |
duplicate()
Creates and returns a copy of this object. |
| Method Detail |
|---|
void addClassDefinition(String className,
byte[] bytecode)
className - the name of the class.bytecode - the bytes of the given class.void addTransformer(javax.persistence.spi.ClassTransformer transformer)
transformer - A provider-supplied transformer that the Container
invokes at class-(re)definition timeClassLoader duplicate()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||