Class 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 Detail

      • SynchronizationImpl

        public SynchronizationImpl()
    • Method Detail

      • addSynchronization

        public void addSynchronization​(jakarta.transaction.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​(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​(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,
                                                     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,
                                                     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