org.jboss.messaging.ra
Class JBMLocalTransaction

java.lang.Object
  extended by org.jboss.messaging.ra.JBMLocalTransaction
All Implemented Interfaces:
javax.resource.spi.LocalTransaction

public class JBMLocalTransaction
extends java.lang.Object
implements javax.resource.spi.LocalTransaction

JMS Local transaction

Version:
$Revision: $
Author:
Adrian Brock, Jesper Pedersen

Constructor Summary
JBMLocalTransaction(JBMManagedConnection mc)
          Constructor
 
Method Summary
 void begin()
          Begin
 void commit()
          Commit
 void rollback()
          Rollback
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JBMLocalTransaction

public JBMLocalTransaction(JBMManagedConnection mc)
Constructor

Parameters:
mc - The managed connection
Method Detail

begin

public void begin()
           throws javax.resource.ResourceException
Begin

Specified by:
begin in interface javax.resource.spi.LocalTransaction
Throws:
javax.resource.ResourceException - Thrown if the operation fails

commit

public void commit()
            throws javax.resource.ResourceException
Commit

Specified by:
commit in interface javax.resource.spi.LocalTransaction
Throws:
javax.resource.ResourceException - Thrown if the operation fails

rollback

public void rollback()
              throws javax.resource.ResourceException
Rollback

Specified by:
rollback in interface javax.resource.spi.LocalTransaction
Throws:
javax.resource.ResourceException - Thrown if the operation fails


Copyright © 2006 JBoss Inc. All Rights Reserved.