jrun.transaction
Interface JRunUserTransactionMBean

All Superinterfaces:
JRunUserTransactionItfc, java.io.Serializable, Service, ServiceMBean
All Known Implementing Classes:
JRunUserTransaction

public interface JRunUserTransactionMBean
extends JRunUserTransactionItfc, ServiceMBean

Manageable interface for UserTransaction service. Used for remote service access to the JRun javax.transaction.UserTransaction implementation.

Author:
PS Neville

Fields inherited from interface jrunx.kernel.Service
INITIALIZED, STARTED, STARTING, STOPPED, STOPPING, UNINITIALIZED
 
Method Summary
 void begin()
           
 void commit()
           
 int getServiceStatus()
           
 javax.transaction.xa.Xid getXid()
           
 void rollback()
           
 void setRollbackOnly()
           
 void setTransactionTimeout(int timeout)
           
 
Methods inherited from interface jrun.transaction.JRunUserTransactionItfc
begin, commit, getStatus, rollback, setRollbackOnly, setTransactionTimeout
 
Methods inherited from interface jrunx.kernel.ServiceMBean
bind, getBindToJNDI, getDeactivated, getDomainName, getJRunService, getLogger, getName, getParentService, getServerName, requestServer, setBindToJNDI, setDeactivated, setDomainName, setName, setParentService, unbind
 
Methods inherited from interface jrunx.kernel.Service
destroy, getStatus, init, start, stop, updateStatus
 

Method Detail

begin

public void begin()
           throws javax.transaction.NotSupportedException,
                  javax.transaction.SystemException

commit

public void commit()
            throws javax.transaction.RollbackException,
                   javax.transaction.HeuristicMixedException,
                   javax.transaction.HeuristicRollbackException,
                   java.lang.SecurityException,
                   java.lang.IllegalStateException,
                   javax.transaction.SystemException

rollback

public void rollback()
              throws java.lang.IllegalStateException,
                     java.lang.SecurityException,
                     javax.transaction.SystemException

getServiceStatus

public int getServiceStatus()
                     throws javax.transaction.SystemException

setRollbackOnly

public void setRollbackOnly()
                     throws java.lang.IllegalStateException,
                            javax.transaction.SystemException

setTransactionTimeout

public void setTransactionTimeout(int timeout)
                           throws javax.transaction.SystemException

getXid

public javax.transaction.xa.Xid getXid()
                                throws javax.transaction.SystemException


Copyright © 2002 Macromedia Corporation. All Rights Reserved.