org.jpox.enhancer
Class ImplementationCreatorImpl

java.lang.Object
  extended byorg.jpox.enhancer.ImplementationCreatorImpl
All Implemented Interfaces:
org.jpox.ImplementationCreator, java.io.Serializable

public class ImplementationCreatorImpl
extends java.lang.Object
implements org.jpox.ImplementationCreator, java.io.Serializable

Creates instances of PersistenceCapable objects

See Also:
Serialized Form

Nested Class Summary
static class ImplementationCreatorImpl.ImplementationCreatorClassLoader
          ClassLoader for newly defined classes
 
Field Summary
protected static org.jpox.util.Localiser LOCALISER
          Message resource
 
Constructor Summary
ImplementationCreatorImpl()
          Constructor
 
Method Summary
 java.lang.ClassLoader getClassLoader()
          Accessor for the ClassLoader
 java.lang.Object newInstance(java.lang.Class persistenceCapable, org.jpox.metadata.MetaDataManager mm, org.jpox.ClassLoaderResolver clr)
          Method to generate an instance of an interface, abstract class, or concrete PC class.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

LOCALISER

protected static org.jpox.util.Localiser LOCALISER
Message resource

Constructor Detail

ImplementationCreatorImpl

public ImplementationCreatorImpl()
Constructor

Method Detail

newInstance

public java.lang.Object newInstance(java.lang.Class persistenceCapable,
                                    org.jpox.metadata.MetaDataManager mm,
                                    org.jpox.ClassLoaderResolver clr)
Method to generate an instance of an interface, abstract class, or concrete PC class.

Specified by:
newInstance in interface org.jpox.ImplementationCreator
Parameters:
persistenceCapable - The class of the interface or abstract class, or concrete class defined in MetaData
Returns:
The instance of this type

getClassLoader

public java.lang.ClassLoader getClassLoader()
Accessor for the ClassLoader

Specified by:
getClassLoader in interface org.jpox.ImplementationCreator
Returns:
The ClassLoader


Copyright © -2007 . All Rights Reserved.