org.exolab.castor.jdo.transactionmanager
Interface TransactionManagerFactory

All Known Implementing Classes:
BaseTransactionManagerFactory

public interface TransactionManagerFactory

A factory for properly acquiring javax.transaction.TransactionManager from J2EE containers. To provide an implementation for a specific J2EE container, implement this interface.

Version:
$Id: TransactionManagerFactory.java,v 1.1.1.1 2003/03/03 07:08:25 kvisco Exp $
Author:
Bruce Snyder, Werner Guttmann

Method Summary
 java.lang.String getName()
          Returns the short alias for this factory instance.
 java.util.Properties getParams()
          Returns the full set of parameters associated with this factory instance.
 javax.transaction.TransactionManager getTransactionManager()
          Acquires the appropriate javax.transaction.TransactionManager.
 void setParams(java.util.Properties params)
          Setsthe full set of parameters on this factory instance.
 

Method Detail

getTransactionManager

public javax.transaction.TransactionManager getTransactionManager()
                                                           throws TransactionManagerAcquireException
Acquires the appropriate javax.transaction.TransactionManager.

Throws:
TransactionManagerAcquireException

getName

public java.lang.String getName()
Returns the short alias for this factory instance.

Returns:
The short alias name.

getParams

public java.util.Properties getParams()
Returns the full set of parameters associated with this factory instance.

Returns:
The full set of parameters. Null if no parameters are available.

setParams

public void setParams(java.util.Properties params)
Setsthe full set of parameters on this factory instance.



Intalio Inc. (C) 1999-2004. All rights reserved http://www.intalio.com