| java.lang.Object org.omg.CORBA.LocalObject org.jacorb.transaction.TransactionCurrentImpl
TransactionCurrentImpl | public class TransactionCurrentImpl extends org.omg.CORBA.LocalObject implements Current(Code) | | This class represents the transaction current.
It is a very simple implementation wich mostly
maps to the methods in the control.
author: Nicolas Noffke author: Vladimir Mencl version: $Id: TransactionCurrentImpl.java,v 1.17 2005/11/20 13:48:16 andre.spiegel Exp $ |
TransactionCurrentImpl | public TransactionCurrentImpl(ORB orb, int slot_id)(Code) | | |
TransactionCurrentImpl | public TransactionCurrentImpl()(Code) | | Creates a non-functional current.
|
begin | public void begin() throws SubtransactionsUnavailable(Code) | | Start a new transaction. The propagation context will be transfered
on ALL communication (~1k extra data) from now on, until
the transaction is committed or rolled back.
NOTICE: the PropagationContext might not be set up fully
compliant to the Spec.
|
commit | public void commit(boolean report_heuristics) throws NoTransaction, HeuristicMixed, HeuristicHazard(Code) | | |
getControl | public static Control getControl(org.omg.CORBA.ORB orb)(Code) | | This method is a convenience method for the server
programmer the exctract the Control from the
PICurrent.
|
get_control | public Control get_control()(Code) | | This and the following method should actually throw
NoTransaction, but that is against the spec.
|
get_status | public Status get_status()(Code) | | |
get_transaction_name | public String get_transaction_name()(Code) | | |
resume | public void resume(Control which) throws InvalidControl(Code) | | |
rollback | public void rollback() throws NoTransaction(Code) | | |
rollback_only | public void rollback_only() throws NoTransaction(Code) | | |
setCurrentThreadContext | public void setCurrentThreadContext(Control control)(Code) | | |
set_timeout | public void set_timeout(int seconds)(Code) | | |
suspend | public Control suspend()(Code) | | |
Methods inherited from org.omg.CORBA.LocalObject | public Request _create_request(Context ctx, String operation, NVList arg_list, NamedValue result)(Code)(Java Doc) public Request _create_request(Context ctx, String operation, NVList arg_list, NamedValue result, ExceptionList exceptions, ContextList contexts)(Code)(Java Doc) public org.omg.CORBA.Object _duplicate()(Code)(Java Doc) public org.omg.CORBA.Object _get_component()(Code)(Java Doc) public org.omg.CORBA.DomainManager[] _get_domain_managers()(Code)(Java Doc) public org.omg.CORBA.InterfaceDef _get_interface()(Code)(Java Doc) public org.omg.CORBA.Object _get_interface_def()(Code)(Java Doc) public org.omg.CORBA.Policy _get_policy(int policy_type)(Code)(Java Doc) public int _hash(int maximum)(Code)(Java Doc) public String[] _ids()(Code)(Java Doc) public org.omg.CORBA.portable.InputStream _invoke(org.omg.CORBA.portable.OutputStream output) throws org.omg.CORBA.portable.ApplicationException, org.omg.CORBA.portable.RemarshalException(Code)(Java Doc) public boolean _is_a(String repositoryId)(Code)(Java Doc) public boolean _is_equivalent(org.omg.CORBA.Object that)(Code)(Java Doc) public boolean _is_local()(Code)(Java Doc) public boolean _non_existent()(Code)(Java Doc) public org.omg.CORBA.ORB _orb()(Code)(Java Doc) public void _release()(Code)(Java Doc) public void _releaseReply(org.omg.CORBA.portable.InputStream input)(Code)(Java Doc) public Request _request(String operation)(Code)(Java Doc) public org.omg.CORBA.portable.OutputStream _request(String operation, boolean responseExpected)(Code)(Java Doc) public void _servant_postinvoke(org.omg.CORBA.portable.ServantObject servant)(Code)(Java Doc) public org.omg.CORBA.portable.ServantObject _servant_preinvoke(String operation, Class expectedType)(Code)(Java Doc) public org.omg.CORBA.Object _set_policy_override(org.omg.CORBA.Policy[] policies, org.omg.CORBA.SetOverrideType set_add)(Code)(Java Doc) public boolean validate_connection()(Code)(Java Doc)
|
|
|