TransactionTemplate (ActiveMQ 1.1 API)
Keywords: org.codehaus.activemq.util.TransactionTemplate class

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## 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 $

Constructor Summary
`TransactionTemplate(PersistenceAdapter persistenceAdapter)`

Method Summary
`void` | `run(Callback task)`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### TransactionTemplate

    public TransactionTemplate(PersistenceAdapter persistenceAdapter)

Method Detail

### run

    public void run(Callback task)
             throws JMSException

  Throws:
    `JMSException`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2004 Protique, Ltd.. All Rights Reserved.