com.solarmetric.kodo.ee
Class EEFactoryHelper
java.lang.Object
|
+--com.solarmetric.kodo.ee.EEFactoryHelper
- All Implemented Interfaces:
- Serializable
- public class EEFactoryHelper
- extends Object
- implements Serializable
Helper for PersistenceManagerFactorys working in managed
environments.
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Object |
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EEFactoryHelper
public EEFactoryHelper(EEConfiguration config)
- Constructor.
getConfiguration
public EEConfiguration getConfiguration()
findPersistenceManager
public PersistenceManagerImpl findPersistenceManager(String user,
String pass)
- Returns the PersistenceManager associated with the current global
Transaction, or null if none. Factories should first delegate to
this function from their
findPersistenceManager method.
synchronize
void synchronize(EEPersistenceManager pm,
Transaction trans)
throws RollbackException,
SystemException
- Used by the
EEPersistenceManager to make sure it is synched
and cached with the current global transaction.
Copyright 2001,2002,2003 SolarMetric, Inc. All Rights Reserved.