org.codehaus.activemq.util
Class TransactionTemplate
java.lang.Object
org.codehaus.activemq.util.TransactionTemplate
- public class TransactionTemplate
- extends Object
A helper class for running code with a PersistenceAdapter
in a transaction.
- Version:
- $Revision: 1.2 $
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TransactionTemplate
public TransactionTemplate(PersistenceAdapter persistenceAdapter)
run
public void run(Callback task)
throws JMSException
- Throws:
JMSException
Copyright © 2004 Protique, Ltd.. All Rights Reserved.