Class ServerFactory
java.lang.Object
com.arjuna.ats.internal.jts.interposition.ServerFactory
This is a server-side factory used for creating server transactions.
- Since:
- JTS 1.2.4.
- Version:
- $Id: ServerFactory.java 2342 2006-03-30 13:06:17Z $
- Author:
- Mark Little (mark@arjuna.com)
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic ServerControl
create_subtransaction
(Uid actUid, Coordinator realCoord, Terminator realTerm, ServerControl parent) static ServerControl
create_transaction
(Uid u, Control parentControl, ArjunaTransactionImple parentImpl, Coordinator realCoord, Terminator realTerm, int time_out) static Status
getCurrentStatus
(Uid uid) static Status
getOSStatus
(Uid u) static Status
-
Constructor Details
-
ServerFactory
public ServerFactory()
-
-
Method Details
-
getCurrentStatus
- Returns:
- the server transaction status.
- Throws:
org.omg.CORBA.SystemException
- Since:
- JTS 2.1.1.
-
getStatus
- Throws:
NoTransaction
org.omg.CORBA.SystemException
-
getOSStatus
- Returns:
- the status of the server transaction as recorded in the object store.
- Throws:
NoTransaction
org.omg.CORBA.SystemException
- Since:
- JTS 2.1.1.
-
create_transaction
public static ServerControl create_transaction(Uid u, Control parentControl, ArjunaTransactionImple parentImpl, Coordinator realCoord, Terminator realTerm, int time_out) -
create_subtransaction
public static ServerControl create_subtransaction(Uid actUid, Coordinator realCoord, Terminator realTerm, ServerControl parent)
-