当前页面:
在线文档首页 >
JBoss 3.2.7 varia API Documentation 英文版文档
ResourceRemote (Various API) - JBoss 3.2.7 varia API Documentation 英文版文档
org.jboss.tm.plugins.tyrex
Class ResourceRemote
java.lang.Object
java.rmi.server.RemoteObject
java.rmi.server.RemoteServer
java.rmi.server.UnicastRemoteObject
org.jboss.tm.plugins.tyrex.ResourceRemote
- All Implemented Interfaces:
- Remote, org.jboss.tm.plugins.tyrex.ResourceRemoteInterface, Serializable
- public class ResourceRemote
- extends UnicastRemoteObject
- implements org.jboss.tm.plugins.tyrex.ResourceRemoteInterface
RMI Remote Proxy that enables the Coordinator on the originating
side to control the subordinate transaction
- Version:
- $Revision: 1.2 $
- Author:
- Anatoly Akkerman
- See Also:
ResourceRemoteInterface, ResourceInvoker, CoordinatorRemote
,
Serialized Form
Constructor Summary |
protected |
ResourceRemote(org.omg.CosTransactions.Resource resource)
|
ResourceRemote
protected ResourceRemote(org.omg.CosTransactions.Resource resource)
throws RemoteException
prepare
public org.omg.CosTransactions.Vote prepare()
throws org.omg.CosTransactions.HeuristicMixed,
org.omg.CosTransactions.HeuristicHazard,
RemoteException
- Specified by:
prepare
in interface org.jboss.tm.plugins.tyrex.ResourceRemoteInterface
- Throws:
org.omg.CosTransactions.HeuristicMixed
org.omg.CosTransactions.HeuristicHazard
RemoteException
rollback
public void rollback()
throws org.omg.CosTransactions.HeuristicCommit,
org.omg.CosTransactions.HeuristicMixed,
org.omg.CosTransactions.HeuristicHazard,
RemoteException
- Specified by:
rollback
in interface org.jboss.tm.plugins.tyrex.ResourceRemoteInterface
- Throws:
org.omg.CosTransactions.HeuristicCommit
org.omg.CosTransactions.HeuristicMixed
org.omg.CosTransactions.HeuristicHazard
RemoteException
commit
public void commit()
throws org.omg.CosTransactions.NotPrepared,
org.omg.CosTransactions.HeuristicRollback,
org.omg.CosTransactions.HeuristicMixed,
org.omg.CosTransactions.HeuristicHazard,
RemoteException
- Specified by:
commit
in interface org.jboss.tm.plugins.tyrex.ResourceRemoteInterface
- Throws:
org.omg.CosTransactions.NotPrepared
org.omg.CosTransactions.HeuristicRollback
org.omg.CosTransactions.HeuristicMixed
org.omg.CosTransactions.HeuristicHazard
RemoteException
commit_one_phase
public void commit_one_phase()
throws org.omg.CosTransactions.HeuristicHazard,
RemoteException
- Specified by:
commit_one_phase
in interface org.jboss.tm.plugins.tyrex.ResourceRemoteInterface
- Throws:
org.omg.CosTransactions.HeuristicHazard
RemoteException
forget
public void forget()
throws RemoteException
- Specified by:
forget
in interface org.jboss.tm.plugins.tyrex.ResourceRemoteInterface
- Throws:
RemoteException
Copyright © 2002 JBoss Group, LLC. All Rights Reserved.