org.kuali.rice.test
Class TransactionalLifecycle
java.lang.Object
org.kuali.rice.test.TransactionalLifecycle
- All Implemented Interfaces:
- Lifecycle
public class TransactionalLifecycle
- extends Object
- implements Lifecycle
A lifecycle for testing with database transactional rollback.
- Author:
- Kuali Rice Team (rice.collab@kuali.org)
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DEFAULT_TRANSACTION_MANAGER_NAME
public static final String DEFAULT_TRANSACTION_MANAGER_NAME
- Name of the transaction manager to pull from the GlobalResourceLoader.
This will most likely be a Spring bean name.
- See Also:
- Constant Field Values
TransactionalLifecycle
public TransactionalLifecycle(String transactionManagerName)
TransactionalLifecycle
public TransactionalLifecycle()
setTransactionManager
public void setTransactionManager(org.springframework.transaction.PlatformTransactionManager transactionManager)
isStarted
public boolean isStarted()
- Specified by:
isStarted
in interface Lifecycle
start
public void start()
throws Exception
- Specified by:
start
in interface Lifecycle
- Throws:
Exception
stop
public void stop()
throws Exception
- Specified by:
stop
in interface Lifecycle
- Throws:
Exception
Copyright © 2005-2012 The Kuali Foundation. All Rights Reserved.