|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ImplementationCreator
Create instances of PersistenceCapable objects. Instantiation of interfaces or abstract classes is impossible, and for this reason concrete classes are generated and and enhanced at runtime by the ImplementationCreator. The generated classes are loaded/defined by an internal ClassLoader to the ImplementationCreator. The internal ClassLoader delegates to the ClassLoaderResolver (loader) the load of user classes.
| Method Summary | |
|---|---|
java.lang.ClassLoader |
getClassLoader()
Accessor for the ClassLoader loading classes created at runtime |
java.lang.Object |
newInstance(java.lang.Class pc,
MetaDataManager mmgr,
ClassLoaderResolver loader)
Constructs an implementation for an interface and instantiates it |
| Method Detail |
|---|
java.lang.Object newInstance(java.lang.Class pc,
MetaDataManager mmgr,
ClassLoaderResolver loader)
pc - The class of the interface or abstract class, or concrete class defined in MetaDatammgr - MetaData Managerloader - The ClassLoaderResolver for the interface
java.lang.ClassLoader getClassLoader()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||