org.apache.jdo.impl.state
Class StateManagerFactory
java.lang.Object
org.apache.jdo.impl.state.StateManagerFactory
- public class StateManagerFactory
- extends java.lang.Object
This class is responsible for creation of new instances of a StateManagerInternal.
Called by CacheManagerImpl on call to makePersistent a Transient istance, or as a
result of a StoreManager request to process query or navigation.
- Version:
- 1.0
- Author:
- mvatkina
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
StateManagerFactory
public StateManagerFactory()
newInstance
public static StateManagerInternal newInstance(javax.jdo.spi.PersistenceCapable pc,
PersistenceManagerInternal pm)
- Returns a new instance of a StateManagerInternal
- Parameters:
pc
- instance of PersistenceCapablepm
- instance of PersistenceManagerInternal associated with this request
newInstance
public static StateManagerInternal newInstance(java.lang.Object userOid,
java.lang.Object internalOid,
PersistenceManagerInternal pm,
java.lang.Class clazz)
- Returns a new instance of a StateManagerInternal. Called by the StoreManager
to process query results.
- Parameters:
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 created
Copyright © 2005-2007 Apache Software Foundation. All Rights Reserved.