com.googlecode.jpattern.service.transaction
Class NullTransactionService
java.lang.Object
com.googlecode.jpattern.service.transaction.NullTransactionService
- All Implemented Interfaces:
- IService, ITransactionService, Serializable
public class NullTransactionService
- extends Object
- implements ITransactionService
- Author:
- Francesco Cina'
5 Apr 2011
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NullTransactionService
public NullTransactionService()
getName
public String getName()
- Specified by:
getName in interface IService
getTransactionManager
public ATransactionManager getTransactionManager(String transactionManagerName)
- Description copied from interface:
ITransactionService
- Return the ATransactionManager object with the specified name.
If no one is found, a NullTransactionManager is returned.
- Specified by:
getTransactionManager in interface ITransactionService
- Returns:
getDefaultTransactionManager
public ATransactionManager getDefaultTransactionManager()
- Specified by:
getDefaultTransactionManager in interface ITransactionService
- Returns:
- the default ATransactionManager
getTransactionManagerNames
public List<String> getTransactionManagerNames()
- Specified by:
getTransactionManagerNames in interface ITransactionService
getDefaultTransactionManagerName
public String getDefaultTransactionManagerName()
- Specified by:
getDefaultTransactionManagerName in interface ITransactionService
Copyright © 2011. All Rights Reserved.