public class StateManagerFactory
extends java.lang.Object
Constructor and Description |
---|
StateManagerFactory() |
Modifier and Type | Method and Description |
---|---|
static StateManagerInternal |
newInstance(java.lang.Object userOid,
java.lang.Object internalOid,
PersistenceManagerInternal pm,
java.lang.Class clazz)
Returns a new instance of a StateManagerInternal.
|
static StateManagerInternal |
newInstance(javax.jdo.spi.PersistenceCapable pc,
PersistenceManagerInternal pm)
Returns a new instance of a StateManagerInternal
|
public static StateManagerInternal newInstance(javax.jdo.spi.PersistenceCapable pc, PersistenceManagerInternal pm)
pc
- instance of PersistenceCapablepm
- instance of PersistenceManagerInternal associated with this requestpublic static StateManagerInternal newInstance(java.lang.Object userOid, java.lang.Object internalOid, PersistenceManagerInternal pm, java.lang.Class clazz)
userOid
- User provided Object IdinternalOid
- Object Id that can be used internallypm
- instance of PersistenceManagerInternal associated with this requestclazz
- Class type for the PersistenceCapable to be createdCopyright © 2005-2012 Apache Software Foundation. All Rights Reserved.