Package com.sun.jts.jta
Class SynchronizationImpl
- java.lang.Object
-
- org.omg.PortableServer.Servant
-
- org.omg.CosTransactions.SynchronizationPOA
-
- com.sun.jts.jta.SynchronizationImpl
-
- All Implemented Interfaces:
Serializable
,org.omg.CORBA.Object
,org.omg.CORBA.portable.IDLEntity
,org.omg.CORBA.portable.InvokeHandler
,org.omg.CosTransactions.Synchronization
,org.omg.CosTransactions.SynchronizationOperations
public class SynchronizationImpl extends org.omg.CosTransactions.SynchronizationPOA implements org.omg.CosTransactions.Synchronization
An implementation of org.omg.CosTransactions.Synchronization this object is activated at creation time and de-activated when after_completion is called- Author:
- Tony Ng
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description SynchronizationImpl()
SynchronizationImpl(TransactionState state)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.omg.CORBA.Request
_create_request(org.omg.CORBA.Context ctx, String operation, org.omg.CORBA.NVList arg_list, org.omg.CORBA.NamedValue result)
org.omg.CORBA.Request
_create_request(org.omg.CORBA.Context ctx, String operation, org.omg.CORBA.NVList arg_list, org.omg.CORBA.NamedValue result, org.omg.CORBA.ExceptionList exceptions, org.omg.CORBA.ContextList contexts)
org.omg.CORBA.Object
_duplicate()
org.omg.CORBA.DomainManager[]
_get_domain_managers()
org.omg.CORBA.Object
_get_interface_def()
org.omg.CORBA.Policy
_get_policy(int policy_type)
int
_hash(int maximum)
boolean
_is_a(String repository_id)
boolean
_is_equivalent(org.omg.CORBA.Object that)
boolean
_non_existent()
void
_release()
org.omg.CORBA.Request
_request(String operation)
org.omg.CORBA.Object
_set_policy_override(org.omg.CORBA.Policy[] policies, org.omg.CORBA.SetOverrideType set_add)
void
addSynchronization(jakarta.transaction.Synchronization sync, boolean interposed)
void
after_completion(org.omg.CosTransactions.Status status)
void
before_completion()
org.omg.CosTransactions.Synchronization
getCORBAReference()
-
Methods inherited from class org.omg.CosTransactions.SynchronizationPOA
_all_interfaces, _invoke, _this, _this
-
-
-
-
Constructor Detail
-
SynchronizationImpl
public SynchronizationImpl()
-
SynchronizationImpl
public SynchronizationImpl(TransactionState state)
-
-
Method Detail
-
addSynchronization
public void addSynchronization(jakarta.transaction.Synchronization sync, boolean interposed)
-
before_completion
public void before_completion()
- Specified by:
before_completion
in interfaceorg.omg.CosTransactions.SynchronizationOperations
-
after_completion
public void after_completion(org.omg.CosTransactions.Status status)
- Specified by:
after_completion
in interfaceorg.omg.CosTransactions.SynchronizationOperations
-
getCORBAReference
public org.omg.CosTransactions.Synchronization getCORBAReference()
-
_duplicate
public org.omg.CORBA.Object _duplicate()
- Specified by:
_duplicate
in interfaceorg.omg.CORBA.Object
-
_release
public void _release()
- Specified by:
_release
in interfaceorg.omg.CORBA.Object
-
_is_a
public boolean _is_a(String repository_id)
- Specified by:
_is_a
in interfaceorg.omg.CORBA.Object
- Overrides:
_is_a
in classorg.omg.PortableServer.Servant
-
_is_equivalent
public boolean _is_equivalent(org.omg.CORBA.Object that)
- Specified by:
_is_equivalent
in interfaceorg.omg.CORBA.Object
-
_non_existent
public boolean _non_existent()
- Specified by:
_non_existent
in interfaceorg.omg.CORBA.Object
- Overrides:
_non_existent
in classorg.omg.PortableServer.Servant
-
_hash
public int _hash(int maximum)
- Specified by:
_hash
in interfaceorg.omg.CORBA.Object
-
_request
public org.omg.CORBA.Request _request(String operation)
- Specified by:
_request
in interfaceorg.omg.CORBA.Object
-
_create_request
public org.omg.CORBA.Request _create_request(org.omg.CORBA.Context ctx, String operation, org.omg.CORBA.NVList arg_list, org.omg.CORBA.NamedValue result)
- Specified by:
_create_request
in interfaceorg.omg.CORBA.Object
-
_create_request
public org.omg.CORBA.Request _create_request(org.omg.CORBA.Context ctx, String operation, org.omg.CORBA.NVList arg_list, org.omg.CORBA.NamedValue result, org.omg.CORBA.ExceptionList exceptions, org.omg.CORBA.ContextList contexts)
- Specified by:
_create_request
in interfaceorg.omg.CORBA.Object
-
_get_interface_def
public org.omg.CORBA.Object _get_interface_def()
- Specified by:
_get_interface_def
in interfaceorg.omg.CORBA.Object
- Overrides:
_get_interface_def
in classorg.omg.PortableServer.Servant
-
_get_policy
public org.omg.CORBA.Policy _get_policy(int policy_type)
- Specified by:
_get_policy
in interfaceorg.omg.CORBA.Object
-
_get_domain_managers
public org.omg.CORBA.DomainManager[] _get_domain_managers()
- Specified by:
_get_domain_managers
in interfaceorg.omg.CORBA.Object
-
_set_policy_override
public org.omg.CORBA.Object _set_policy_override(org.omg.CORBA.Policy[] policies, org.omg.CORBA.SetOverrideType set_add)
- Specified by:
_set_policy_override
in interfaceorg.omg.CORBA.Object
-
-