Class
Tree
          
SUMMARY: INNER | FIELD | CONSTR | METHODDETAIL: FIELD | CONSTR | METHOD
 

com.newstep.solid.persistence
Class TransactionManagerFactory
Direct Known Subclasses:
       DbTransactionManagerFactory

public abstract class TransactionManagerFactory      
manages creation and initialization of TransactionManager implementations
Abstract.
 
 

Method Summary
public abstract TransactionManager
getFactory(String className)
Method Detail
createTransactionManager
public abstract TransactionManager createTransactionManager ()
 
Creates and initializes TransactionManager instances of the specified class
Exceptions:
PersistenceException if an error occurs creating or initializing the TransactionManager implementation
Return:
an instance of the specified TransactionManager implementation
Abstract.
Throws:
PersistenceException
 

getFactory
public static TransactionManagerFactory getFactory (String className)
 
create and retrieves a TransactionManagerFactory instances of the specified Class
Parameters:
className the full name of the class implementing the TransactionManagerFactory interface
Exceptions:
IllegalAccessException if an error occurs creating the factory
InstantiationException if an error occurs creating the factory
ExceptionInInitializerError if an error occurs creating the factory
SecurityException if an error occurs creating the factory
ClassNotFoundException if an error occurs creating the factory
Return:
a TransactionManagerFactory instance
Static.
Throws:
IllegalAccessException,InstantiationException,SecurityException,ClassNotFoundException
 

Class
Tree
          
SUMMARY: INNER | FIELD | CONSTR | METHODDETAIL: FIELD | CONSTR | METHOD