All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.omg.CosTransactions.InvocationPolicyPOATie Maven / Gradle / Ivy

There is a newer version: 4.2.5
Show newest version
package org.omg.CosTransactions;


/**
* org/omg/CosTransactions/InvocationPolicyPOATie.java .
* Generated by the IDL-to-Java compiler (portable), version "3.2"
* from /home/jenkins/agent/workspace/orb-release-build/omgapi/src/main/idl/CosTransactions.idl
* Sunday, February 14, 2021 7:42:42 PM GMT
*/

public class InvocationPolicyPOATie extends InvocationPolicyPOA
{

  // Constructors

  public InvocationPolicyPOATie ( org.omg.CosTransactions.InvocationPolicyOperations delegate ) {
      this._impl = delegate;
  }
  public InvocationPolicyPOATie ( org.omg.CosTransactions.InvocationPolicyOperations delegate , org.omg.PortableServer.POA poa ) {
      this._impl = delegate;
      this._poa      = poa;
  }
  public org.omg.CosTransactions.InvocationPolicyOperations _delegate() {
      return this._impl;
  }
  public void _delegate (org.omg.CosTransactions.InvocationPolicyOperations delegate ) {
      this._impl = delegate;
  }
  public org.omg.PortableServer.POA _default_POA() {
      if(_poa != null) {
          return _poa;
      }
      else {
          return super._default_POA();
      }
  }
  public short value ()
  {
    return _impl.value();
  } // value


  /** Return the constant value that corresponds to the 
                  * type of the policy object.  The values of 
                  * the polivy objectys are allocated by the OMG.
                  * New values for PolicyType should be obtained from the OMG by
                  * sending mail to [email protected].  In general the constant
                  * values that are allocated are defined in conjunction with
                  * the definition of the corresponding policy object.
                  * @return the constant value that corresponds to the type of
                  * the policy object.
                  */
  public int policy_type ()
  {
    return _impl.policy_type();
  } // policy_type


  /** Copies the policy object. The copy does not retain any
                  * relationships that the policy had with any domain or object.
                  * @return the copy of the policy object.
                  */
  public org.omg.CORBA.Policy copy ()
  {
    return _impl.copy();
  } // copy


  /** Destroys the policy object.  It is the responsibility of
                  * the policy object to determine whether it can be destroyed.
                  */
  public void destroy ()
  {
    _impl.destroy();
  } // destroy

  private org.omg.CosTransactions.InvocationPolicyOperations _impl;
  private org.omg.PortableServer.POA _poa;

} // class InvocationPolicyPOATie




© 2015 - 2024 Weber Informatics LLC | Privacy Policy