org.jboss.tm.usertx.server
Class UserTransactionSessionImpl_Stub

java.lang.Object
  extended by java.rmi.server.RemoteObject
      extended by java.rmi.server.RemoteStub
          extended by org.jboss.tm.usertx.server.UserTransactionSessionImpl_Stub
All Implemented Interfaces:
Serializable, Remote, UserTransactionSession

public final class UserTransactionSessionImpl_Stub
extends RemoteStub
implements UserTransactionSession

See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.rmi.server.RemoteObject
ref
 
Constructor Summary
UserTransactionSessionImpl_Stub(RemoteRef ref)
           
 
Method Summary
 Object begin(int $param_int_1)
          Start a new transaction, and return its TPC.
 void commit(Object $param_Object_1)
          Commit the transaction.
 void destroy()
          Destroy this session.
 int getStatus(Object $param_Object_1)
          Return status of the transaction.
 void rollback(Object $param_Object_1)
          Rollback the transaction.
 void setRollbackOnly(Object $param_Object_1)
          Mark the transaction for rollback only.
 
Methods inherited from class java.rmi.server.RemoteStub
setRef
 
Methods inherited from class java.rmi.server.RemoteObject
equals, getRef, hashCode, toString, toStub
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

UserTransactionSessionImpl_Stub

public UserTransactionSessionImpl_Stub(RemoteRef ref)
Method Detail

begin

public Object begin(int $param_int_1)
             throws RemoteException,
                    NotSupportedException,
                    SystemException
Description copied from interface: UserTransactionSession
Start a new transaction, and return its TPC.

Specified by:
begin in interface UserTransactionSession
Parameters:
$param_int_1 - The timeout value for the new transaction, in seconds.
Returns:
The transaction propagation context for the new transaction.
Throws:
RemoteException
NotSupportedException
SystemException

commit

public void commit(Object $param_Object_1)
            throws IllegalStateException,
                   SecurityException,
                   RemoteException,
                   HeuristicMixedException,
                   HeuristicRollbackException,
                   RollbackException,
                   SystemException
Description copied from interface: UserTransactionSession
Commit the transaction.

Specified by:
commit in interface UserTransactionSession
Parameters:
$param_Object_1 - The transaction propagation context for the transaction.
Throws:
IllegalStateException
SecurityException
RemoteException
HeuristicMixedException
HeuristicRollbackException
RollbackException
SystemException

destroy

public void destroy()
             throws RemoteException
Description copied from interface: UserTransactionSession
Destroy this session.

Specified by:
destroy in interface UserTransactionSession
Throws:
RemoteException

getStatus

public int getStatus(Object $param_Object_1)
              throws RemoteException,
                     SystemException
Description copied from interface: UserTransactionSession
Return status of the transaction.

Specified by:
getStatus in interface UserTransactionSession
Parameters:
$param_Object_1 - The transaction propagation context for the transaction.
Throws:
RemoteException
SystemException

rollback

public void rollback(Object $param_Object_1)
              throws IllegalStateException,
                     SecurityException,
                     RemoteException,
                     SystemException
Description copied from interface: UserTransactionSession
Rollback the transaction.

Specified by:
rollback in interface UserTransactionSession
Parameters:
$param_Object_1 - The transaction propagation context for the transaction.
Throws:
IllegalStateException
SecurityException
RemoteException
SystemException

setRollbackOnly

public void setRollbackOnly(Object $param_Object_1)
                     throws IllegalStateException,
                            RemoteException,
                            SystemException
Description copied from interface: UserTransactionSession
Mark the transaction for rollback only.

Specified by:
setRollbackOnly in interface UserTransactionSession
Parameters:
$param_Object_1 - The transaction propagation context for the transaction.
Throws:
IllegalStateException
RemoteException
SystemException


Copyright © 2002 JBoss Group, LLC. All Rights Reserved.