com.sun.jts.jta
Class SynchronizationImpl

java.lang.Object
  extended by org.omg.PortableServer.Servant
      extended by org.omg.CosTransactions.SynchronizationPOA
          extended by com.sun.jts.jta.SynchronizationImpl
All Implemented Interfaces:
java.io.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
SynchronizationImpl()
           
SynchronizationImpl(TransactionState state)
           
 
Method Summary
 org.omg.CORBA.Request _create_request(org.omg.CORBA.Context ctx, java.lang.String operation, org.omg.CORBA.NVList arg_list, org.omg.CORBA.NamedValue result)
           
 org.omg.CORBA.Request _create_request(org.omg.CORBA.Context ctx, java.lang.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(java.lang.String repository_id)
           
 boolean _is_equivalent(org.omg.CORBA.Object that)
           
 boolean _non_existent()
           
 void _release()
           
 org.omg.CORBA.Request _request(java.lang.String operation)
           
 org.omg.CORBA.Object _set_policy_override(org.omg.CORBA.Policy[] policies, org.omg.CORBA.SetOverrideType set_add)
           
 void addSynchronization(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
 
Methods inherited from class org.omg.PortableServer.Servant
_default_POA, _get_delegate, _object_id, _orb, _poa, _set_delegate, _this_object, _this_object
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SynchronizationImpl

public SynchronizationImpl()

SynchronizationImpl

public SynchronizationImpl(TransactionState state)
Method Detail

addSynchronization

public void addSynchronization(Synchronization sync,
                               boolean interposed)

before_completion

public void before_completion()
Specified by:
before_completion in interface org.omg.CosTransactions.SynchronizationOperations

after_completion

public void after_completion(org.omg.CosTransactions.Status status)
Specified by:
after_completion in interface org.omg.CosTransactions.SynchronizationOperations

getCORBAReference

public org.omg.CosTransactions.Synchronization getCORBAReference()

_duplicate

public org.omg.CORBA.Object _duplicate()
Specified by:
_duplicate in interface org.omg.CORBA.Object

_release

public void _release()
Specified by:
_release in interface org.omg.CORBA.Object

_is_a

public boolean _is_a(java.lang.String repository_id)
Specified by:
_is_a in interface org.omg.CORBA.Object
Overrides:
_is_a in class org.omg.PortableServer.Servant

_is_equivalent

public boolean _is_equivalent(org.omg.CORBA.Object that)
Specified by:
_is_equivalent in interface org.omg.CORBA.Object

_non_existent

public boolean _non_existent()
Specified by:
_non_existent in interface org.omg.CORBA.Object
Overrides:
_non_existent in class org.omg.PortableServer.Servant

_hash

public int _hash(int maximum)
Specified by:
_hash in interface org.omg.CORBA.Object

_request

public org.omg.CORBA.Request _request(java.lang.String operation)
Specified by:
_request in interface org.omg.CORBA.Object

_create_request

public org.omg.CORBA.Request _create_request(org.omg.CORBA.Context ctx,
                                             java.lang.String operation,
                                             org.omg.CORBA.NVList arg_list,
                                             org.omg.CORBA.NamedValue result)
Specified by:
_create_request in interface org.omg.CORBA.Object

_create_request

public org.omg.CORBA.Request _create_request(org.omg.CORBA.Context ctx,
                                             java.lang.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 interface org.omg.CORBA.Object

_get_interface_def

public org.omg.CORBA.Object _get_interface_def()
Specified by:
_get_interface_def in interface org.omg.CORBA.Object
Overrides:
_get_interface_def in class org.omg.PortableServer.Servant

_get_policy

public org.omg.CORBA.Policy _get_policy(int policy_type)
Specified by:
_get_policy in interface org.omg.CORBA.Object

_get_domain_managers

public org.omg.CORBA.DomainManager[] _get_domain_managers()
Specified by:
_get_domain_managers in interface org.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 interface org.omg.CORBA.Object


Copyright © 2012 GlassFish Community. All Rights Reserved.