org.jpox
Interface ImplementationCreator


public interface ImplementationCreator

Creates instances of PersistenceCapable objects

Version:
$Revision: 1.5 $

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

newInstance

public java.lang.Object newInstance(java.lang.Class pc,
                                    MetaDataManager mmgr,
                                    ClassLoaderResolver loader)
Constructs an implementation for an interface and instantiates it

Parameters:
pc - The class of the interface or abstract class, or concrete class defined in MetaData
mmgr - MetaData Manager
loader - The ClassLoaderResolver for the interface
Returns:
The instance implementing the interface

getClassLoader

public java.lang.ClassLoader getClassLoader()
Accessor for the ClassLoader loading classes created at runtime

Returns:
The ClassLoader


Copyright © -2007 . All Rights Reserved.