com.googlecode.jpattern.service.transaction
Interface ITransactionService

All Superinterfaces:
IService, Serializable
All Known Implementing Classes:
NullTransactionService

public interface ITransactionService
extends IService

Author:
Francesco Cina' 28 Mar 2011 This service manage the available ATransactionManager objects used to manage transaction for the application. If not otherwise specified the ACommandFacade will use the defaultTransactionManager here configured.

Method Summary
 ATransactionManager getDefaultTransactionManager()
           
 String getDefaultTransactionManagerName()
           
 ATransactionManager getTransactionManager(String transactionManagerName)
          Return the ATransactionManager object with the specified name.
 List<String> getTransactionManagerNames()
           
 
Methods inherited from interface com.googlecode.jpattern.core.IService
getName
 

Method Detail

getTransactionManager

ATransactionManager getTransactionManager(String transactionManagerName)
Return the ATransactionManager object with the specified name. If no one is found, a NullTransactionManager is returned.

Parameters:
transactionManagerName -
Returns:

getDefaultTransactionManager

ATransactionManager getDefaultTransactionManager()
Returns:
the default ATransactionManager

getTransactionManagerNames

List<String> getTransactionManagerNames()

getDefaultTransactionManagerName

String getDefaultTransactionManagerName()


Copyright © 2011. All Rights Reserved.