SolarMetric Kodo JDO 3.0.3 generated on February 20 2004

kodo.runtime
Interface KodoPersistenceManagerSPI

All Superinterfaces:
com.solarmetric.util.Closeable, Connection, KodoPersistenceManager, LocalTransaction, LocalTransaction, PersistenceManager, Synchronization, Transaction
All Known Implementing Classes:
PersistenceManagerImpl

public interface KodoPersistenceManagerSPI
extends KodoPersistenceManager


Fields inherited from interface kodo.runtime.KodoPersistenceManager
CONN_RETAIN_DEMAND, CONN_RETAIN_PM, CONN_RETAIN_TRANS
 
Method Summary
 void lock()
          Synchronizes on an internal lock if the Multithreaded flag is set to true.
 KodoStateManager makeEmbedded(Object, KodoStateManager, int)
          For implementation use only.
 kodo.runtime.StateManagerImpl makePersistentInternal(Object)
           
 void unlock()
          Releases the internal lock.
 
Methods inherited from interface kodo.runtime.KodoPersistenceManager
assertActiveTransaction, assertNontransactionalRead, assertOpen, attach, attachAll, attachAll, commitAndResume, detach, detachAll, detachAll, evictAll, evictAll, flush, getCachedObjectById, getClassLoader, getConfiguration, getConnection, getConnectionPassword, getConnectionRetainMode, getConnectionUserName, getDirtyClasses, getFetchConfiguration, getManagedObjects, getManagedRuntime, getObjectById, getObjectsById, getObjectsById, getRollbackOnly, getState, getStateManager, getStoreManager, getTransactionalObjects, isManaged, makeClassDirty, registerListener, removeListener, retrieve, rollbackAndResume, setRollbackOnly
 
Methods inherited from interface javax.jdo.PersistenceManager
close, currentTransaction, deletePersistent, deletePersistentAll, deletePersistentAll, evict, evictAll, evictAll, evictAll, getExtent, getIgnoreCache, getMultithreaded, getObjectById, getObjectId, getObjectIdClass, getPersistenceManagerFactory, getTransactionalObjectId, getUserObject, isClosed, makeNontransactional, makeNontransactionalAll, makeNontransactionalAll, makePersistent, makePersistentAll, makePersistentAll, makeTransactional, makeTransactionalAll, makeTransactionalAll, makeTransient, makeTransientAll, makeTransientAll, newObjectIdInstance, newQuery, newQuery, newQuery, newQuery, newQuery, newQuery, newQuery, newQuery, newQuery, refresh, refreshAll, refreshAll, refreshAll, retrieve, retrieveAll, retrieveAll, retrieveAll, retrieveAll, setIgnoreCache, setMultithreaded, setUserObject
 
Methods inherited from interface javax.jdo.Transaction
begin, commit, getNontransactionalRead, getNontransactionalWrite, getOptimistic, getPersistenceManager, getRestoreValues, getRetainValues, getSynchronization, isActive, rollback, setNontransactionalRead, setNontransactionalWrite, setOptimistic, setRestoreValues, setRetainValues, setSynchronization
 
Methods inherited from interface javax.transaction.Synchronization
afterCompletion, beforeCompletion
 
Methods inherited from interface javax.resource.cci.Connection
close, createInteraction, getLocalTransaction, getMetaData, getResultSetInfo
 
Methods inherited from interface javax.resource.cci.LocalTransaction
begin, commit, rollback
 
Methods inherited from interface javax.resource.spi.LocalTransaction
begin, commit, rollback
 
Methods inherited from interface com.solarmetric.util.Closeable
close
 

Method Detail

makeEmbedded

public KodoStateManager makeEmbedded(Object,
                                     KodoStateManager,
                                     int)
Description copied from interface: KodoPersistenceManager
For implementation use only. Make the given instance embedded.
Specified by:
makeEmbedded in interface KodoPersistenceManager
Following copied from interface: kodo.runtime.KodoPersistenceManager
Parameters:
pc - the instance to embed, or null to embed a newly-created instance that will be loaded with datastore data
owner - the owning state manager
ownerField - the field number of the owning object
Returns:
the state manager for the embedded instance

makePersistentInternal

public kodo.runtime.StateManagerImpl makePersistentInternal(Object)

lock

public void lock()
Description copied from interface: KodoPersistenceManager
Synchronizes on an internal lock if the Multithreaded flag is set to true. Make sure to call KodoPersistenceManager.unlock() in a finally clause of the same method.
Specified by:
lock in interface KodoPersistenceManager

unlock

public void unlock()
Description copied from interface: KodoPersistenceManager
Releases the internal lock.
Specified by:
unlock in interface KodoPersistenceManager

SolarMetric Kodo JDO 3.0.3 generated on February 20 2004

Copyright 2001,2002 SolarMetric, Inc. All Rights Reserved.