| 
 | |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.jaffa.persistence.engines.jdbcengine.proxy.PersistentInstanceFactory
This class is a factory for obtaining IPersistent instances.
| Constructor Summary | |
| PersistentInstanceFactory() | |
| Method Summary | |
| static Class | getActualPersistentClass(IPersistent object)This is a helper method to determine the actual class which was used to create an IPersistent instance. | 
| static IPersistent | newPersistentInstance(Class persistentClass)Generates an appropriate instance for the input persistentClass. | 
| static void | setInstanceValue(IPersistent object,
                                 String attributeName,
                                 Object value)This is used by the MoldingService to initialize the Persistent instance. | 
| Methods inherited from class java.lang.Object | 
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Constructor Detail | 
public PersistentInstanceFactory()
| Method Detail | 
public static IPersistent newPersistentInstance(Class persistentClass)
persistentClass - The actual persistentClass which can represent a 'Class' or an 'Interface'
public static Class getActualPersistentClass(IPersistent object)
object - The object which implements the IPersistent instance.
public static void setInstanceValue(IPersistent object,
                                    String attributeName,
                                    Object value)
object - The Proxy object for an IPersistence interface.attributeName - The attribute whose value will be set.value - The value to be set.| 
 | |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||