|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.exolab.castor.jdo.transactionmanager.TransactionManagerFactoryRegistry
Registry for TransactionManagerFactory
implementations
obtained from the Castor properties file and used by the
JDO mapping configuration file.
Constructor Summary | |
TransactionManagerFactoryRegistry()
|
Method Summary | |
static java.util.Collection |
getTransactionManagerFactories()
Returns the names of all the configured TransactionManagerFactory
implementations. |
static TransactionManagerFactory |
getTransactionManagerFactory(java.lang.String name)
Returns a TransactionManagerFactory with the specified name. |
static java.lang.String[] |
getTransactionManagerFactoryNames()
Returns the names of all the configured TransactionManagerFactory
implementations. |
static void |
load(org.xml.sax.InputSource source,
org.xml.sax.EntityResolver resolver)
Loads configuration related to transaction demarcation and transaction manager factories from JDO config file. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public TransactionManagerFactoryRegistry()
Method Detail |
public static TransactionManagerFactory getTransactionManagerFactory(java.lang.String name)
TransactionManagerFactory
with the specified name.
The factory class names are loaded from the Castor properties
file. Returns null if the named factory is not supported.
name
- The TransactionManagerFactory name
TransactionManagerFactory
, null
if no TransactionManagerFactory with this name existspublic static java.lang.String[] getTransactionManagerFactoryNames()
TransactionManagerFactory
implementations. The names can be used to obtain a TransactionManagerFactory
from getTransactionManagerFactory(java.lang.String)
.
TransactionManagerFactory
implementationspublic static java.util.Collection getTransactionManagerFactories()
TransactionManagerFactory
implementations. The names can be used to obtain a TransactionManagerFactory
from getTransactionManagerFactory(java.lang.String)
.
TransactionManagerFactory
implementationspublic static void load(org.xml.sax.InputSource source, org.xml.sax.EntityResolver resolver) throws TransactionManagerAcquireException
source
- InputSource pointing to the JDO config file.resolver
- Custom EntityResolver instance.
TransactionManagerAcquireException
- If there is a problem obtaining tthe configuration.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |