org.activemq.util
Class TransactionTemplate
java.lang.Object
org.activemq.util.TransactionTemplate
- public class TransactionTemplate
- extends Object
A helper class for running code with a PersistenceAdapter
in a transaction.
- Version:
- $Revision: 1.1.1.1 $
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-2007 Protique, Ltd.. All Rights Reserved.