SolarMetric Kodo JDO Enterprise Edition 2.3.1 generated on August 20 2002

com.solarmetric.kodo.ee
Class EEPersistenceManager

java.lang.Object
  |
  +--com.solarmetric.kodo.runtime.PersistenceManagerImpl
        |
        +--com.solarmetric.kodo.ee.EEPersistenceManager
All Implemented Interfaces:
Connection, PersistenceManager, Synchronization, Transaction

public class EEPersistenceManager
extends PersistenceManagerImpl
implements Synchronization, Connection

PersistenceManager for enterprised managed environments.

Author:
Abe White

Fields inherited from class com.solarmetric.kodo.runtime.PersistenceManagerImpl
store
 
Constructor Summary
EEPersistenceManager()
           
 
Method Summary
 void afterCompletion(int status)
           
 void beforeCompletion()
           
 void begin()
           
 void close()
           
 void commit()
           
 Interaction createInteraction()
           
 LocalTransaction getLocalTransaction()
           
 ConnectionMetaData getMetaData()
           
 ResultSetInfo getResultSetInfo()
           
 void initialize(PersistenceManagerFactoryImpl factory, StoreManager sm, String user, String pass, EEFactoryHelper helper)
          Initialize the persistence manager with the given factory helper; this also takes care of synching the manager on the current global transaction, if any.
 boolean isGlobalTransactionActive()
           
 void registerObjectEventListener(ObjectEventListener listen)
           
 void registerTransactionEventListener(TransactionEventListener listen)
           
 void removeObjectEventListener(ObjectEventListener listen)
           
 void removeTransactionEventListener(TransactionEventListener listen)
           
 void rollback()
           
 void synchronizeGlobalTransaction()
          synchronize on the global transaction.
 
Methods inherited from class com.solarmetric.kodo.runtime.PersistenceManagerImpl
checkActiveTransaction, checkClosed, checkNontransactionalRead, checkValid, closeQueries, currentTransaction, deletePersistent, deletePersistentAll, deletePersistentAll, deletePersistentFilter, endTransaction, evict, evictAll, evictAll, evictAll, evictFilter, flush, getCachedObjectById, getClassLoader, getConfiguration, getConnectionPassword, getConnectionUserName, getExtent, getIgnoreCache, getManagedObjects, getMultithreaded, getNontransactionalRead, getNontransactionalWrite, getObjectById, getObjectById, getObjectByIdFilter, getObjectId, getObjectIdClass, getOptimistic, getPersistenceManager, getPersistenceManagerFactory, getRestoreValues, getRetainValues, getState, getState, getStoreManager, getSynchronization, getTransactionalObjectId, getTransactionalObjects, getUserObject, initialize, isActive, isClosed, lock, makeNontransactional, makeNontransactionalAll, makeNontransactionalAll, makeNontransactionalFilter, makePersistent, makePersistentAll, makePersistentAll, makePersistentFilter, makeTransactional, makeTransactionalAll, makeTransactionalAll, makeTransactionalFilter, makeTransient, makeTransientAll, makeTransientAll, makeTransientFilter, markTransactionalObjectDirty, newObjectIdInstance, newQuery, newQuery, newQuery, newQuery, newQuery, newQuery, newQuery, newQuery, newQuery, refresh, refreshAll, refreshAll, refreshAll, refreshFilter, retrieve, retrieveAll, retrieveAll, retrieveFilter, setIgnoreCache, setMultithreaded, setNontransactionalRead, setNontransactionalWrite, setOptimistic, setRestoreValues, setRetainValues, setSynchronization, setUserObject, unlock
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EEPersistenceManager

public EEPersistenceManager()
Method Detail

initialize

public void initialize(PersistenceManagerFactoryImpl factory,
                       StoreManager sm,
                       String user,
                       String pass,
                       EEFactoryHelper helper)
Initialize the persistence manager with the given factory helper; this also takes care of synching the manager on the current global transaction, if any.

synchronizeGlobalTransaction

public void synchronizeGlobalTransaction()
synchronize on the global transaction. This method should be called after the PM is initialized, but before it is used for the first time.

begin

public void begin()
Overrides:
begin in class PersistenceManagerImpl

commit

public void commit()
Overrides:
commit in class PersistenceManagerImpl

rollback

public void rollback()
Overrides:
rollback in class PersistenceManagerImpl

beforeCompletion

public void beforeCompletion()
Specified by:
beforeCompletion in interface Synchronization

afterCompletion

public void afterCompletion(int status)
Specified by:
afterCompletion in interface Synchronization

close

public void close()
Specified by:
close in interface Connection
Overrides:
close in class PersistenceManagerImpl

isGlobalTransactionActive

public boolean isGlobalTransactionActive()

registerObjectEventListener

public void registerObjectEventListener(ObjectEventListener listen)

registerTransactionEventListener

public void registerTransactionEventListener(TransactionEventListener listen)

removeObjectEventListener

public void removeObjectEventListener(ObjectEventListener listen)

removeTransactionEventListener

public void removeTransactionEventListener(TransactionEventListener listen)

getMetaData

public ConnectionMetaData getMetaData()
Specified by:
getMetaData in interface Connection

createInteraction

public Interaction createInteraction()
                              throws NotSupportedException
Specified by:
createInteraction in interface Connection

getLocalTransaction

public LocalTransaction getLocalTransaction()
                                     throws NotSupportedException
Specified by:
getLocalTransaction in interface Connection

getResultSetInfo

public ResultSetInfo getResultSetInfo()
                               throws NotSupportedException
Specified by:
getResultSetInfo in interface Connection

SolarMetric Kodo JDO Enterprise Edition 2.3.1 generated on August 20 2002

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