SolarMetric Kodo JDO 2.4.3 generated on March 27 2003

com.solarmetric.kodo.ee
Class EEPersistenceManager

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

public class EEPersistenceManager
extends PersistenceManagerImpl
implements Synchronization, Connection, ResultSetInfo, Interaction, LocalTransaction, ConnectionMetaData, LocalTransaction

PersistenceManager for enterprised managed environments.


Fields inherited from class com.solarmetric.kodo.runtime.PersistenceManagerImpl
store
 
Constructor Summary
EEPersistenceManager()
           
 
Method Summary
 void afterCompletion(int status)
           
 void beforeCompletion()
           
 void begin()
           
 void clearWarnings()
           
 void close()
           
 void commit()
           
 Interaction createInteraction()
           
 boolean deletesAreDetected(int type)
           
 Record execute(InteractionSpec ispec, Record input)
           
 boolean execute(InteractionSpec ispec, Record input, Record output)
           
 Connection getConnection()
           
 String getEISProductName()
           
 String getEISProductVersion()
           
 LocalTransaction getLocalTransaction()
           
 ConnectionMetaData getMetaData()
           
 ResultSetInfo getResultSetInfo()
           
 String getUserName()
           
 ResourceWarning getWarnings()
           
 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 insertsAreDetected(int type)
           
 boolean isGlobalTransactionActive()
           
 boolean othersDeletesAreVisible(int type)
           
 boolean othersInsertsAreVisible(int type)
           
 boolean othersUpdatesAreVisible(int type)
           
 boolean ownDeletesAreVisible(int type)
           
 boolean ownInsertsAreVisible(int type)
           
 boolean ownUpdatesAreVisible(int type)
           
 void registerObjectEventListener(ObjectEventListener listen)
           
 void registerTransactionEventListener(TransactionEventListener listen)
           
 void removeObjectEventListener(ObjectEventListener listen)
           
 void removeTransactionEventListener(TransactionEventListener listen)
           
 void rollback()
           
 boolean supportsResultSetType(int type)
           
 boolean supportsResultTypeConcurrency(int type, int concurrency)
           
 void synchronizeGlobalTransaction()
          synchronize on the global transaction.
 boolean updatesAreDetected(int type)
           
 
Methods inherited from class com.solarmetric.kodo.runtime.PersistenceManagerImpl
checkActiveTransaction, checkClosed, checkNontransactionalRead, checkValid, closeQueries, commitAndResume, currentTransaction, deletePersistent, deletePersistentAll, deletePersistentAll, deletePersistentFilter, endTransaction, evict, evictAll, evictAll, evictAll, evictAll, evictAll, evictFilter, finalize, flush, getCachedObjectById, getClassResolver, getClassResolver, getClassResolver, getConfiguration, getConnectionPassword, getConnectionUserName, getContextClassLoader, 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, newManagedObjectCache, newObjectIdInstance, newQuery, newQuery, newQuery, newQuery, newQuery, newQuery, newQuery, newQuery, newQuery, refresh, refreshAll, refreshAll, refreshAll, refreshFilter, resolvePersistentClass, retrieve, retrieveAll, retrieveAll, retrieveFilter, rollbackAndResume, setIgnoreCache, setMultithreaded, setNontransactionalRead, setNontransactionalWrite, setOptimistic, setRestoreValues, setRetainValues, setSynchronization, setUserObject, unlock
 
Methods inherited from class java.lang.Object
clone, equals, 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()
Specified by:
begin in interface LocalTransaction
Overrides:
begin in class PersistenceManagerImpl

commit

public void commit()
Specified by:
commit in interface LocalTransaction
Overrides:
commit in class PersistenceManagerImpl

rollback

public void rollback()
Specified by:
rollback in interface LocalTransaction
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

clearWarnings

public void clearWarnings()
Specified by:
clearWarnings in interface Interaction

execute

public Record execute(InteractionSpec ispec,
                      Record input)
               throws ResourceException
Specified by:
execute in interface Interaction

execute

public boolean execute(InteractionSpec ispec,
                       Record input,
                       Record output)
                throws ResourceException
Specified by:
execute in interface Interaction

getConnection

public Connection getConnection()
Specified by:
getConnection in interface Interaction

getWarnings

public ResourceWarning getWarnings()
Specified by:
getWarnings in interface Interaction

deletesAreDetected

public boolean deletesAreDetected(int type)
Specified by:
deletesAreDetected in interface ResultSetInfo

insertsAreDetected

public boolean insertsAreDetected(int type)
Specified by:
insertsAreDetected in interface ResultSetInfo

othersDeletesAreVisible

public boolean othersDeletesAreVisible(int type)
Specified by:
othersDeletesAreVisible in interface ResultSetInfo

othersInsertsAreVisible

public boolean othersInsertsAreVisible(int type)
Specified by:
othersInsertsAreVisible in interface ResultSetInfo

othersUpdatesAreVisible

public boolean othersUpdatesAreVisible(int type)
Specified by:
othersUpdatesAreVisible in interface ResultSetInfo

ownDeletesAreVisible

public boolean ownDeletesAreVisible(int type)
Specified by:
ownDeletesAreVisible in interface ResultSetInfo

ownInsertsAreVisible

public boolean ownInsertsAreVisible(int type)
Specified by:
ownInsertsAreVisible in interface ResultSetInfo

ownUpdatesAreVisible

public boolean ownUpdatesAreVisible(int type)
Specified by:
ownUpdatesAreVisible in interface ResultSetInfo

supportsResultSetType

public boolean supportsResultSetType(int type)
Specified by:
supportsResultSetType in interface ResultSetInfo

supportsResultTypeConcurrency

public boolean supportsResultTypeConcurrency(int type,
                                             int concurrency)
Specified by:
supportsResultTypeConcurrency in interface ResultSetInfo

updatesAreDetected

public boolean updatesAreDetected(int type)
Specified by:
updatesAreDetected in interface ResultSetInfo

getEISProductName

public String getEISProductName()
Specified by:
getEISProductName in interface ConnectionMetaData

getEISProductVersion

public String getEISProductVersion()
Specified by:
getEISProductVersion in interface ConnectionMetaData

getUserName

public String getUserName()
Specified by:
getUserName in interface ConnectionMetaData

SolarMetric Kodo JDO 2.4.3 generated on March 27 2003

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