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

org.omg.PortableServer.ServantRetentionPolicyValueHolder Maven / Gradle / Ivy

package org.omg.PortableServer;

/**
* org/omg/PortableServer/ServantRetentionPolicyValueHolder.java .
* Generated by the IDL-to-Java compiler (portable), version "3.2"
* from /home/tomek/workspace/openjdk-orb/src/share/classes/org/omg/PortableServer/poa.idl
* Thursday, June 22, 2023 7:19:19 PM CEST
*/


/**
	 * ServantRetentionPolicyValue can have the following 
	 * values. RETAIN - to indicate that the POA will retain 
	 * active servants in its Active Object Map. 
	 * NON_RETAIN - to indicate Servants are not retained by 
	 * the POA. If no ServantRetentionPolicy is specified at 
	 * POA creation, the default is RETAIN.
	 */
public final class ServantRetentionPolicyValueHolder implements org.omg.CORBA.portable.Streamable
{
  public org.omg.PortableServer.ServantRetentionPolicyValue value = null;

  public ServantRetentionPolicyValueHolder ()
  {
  }

  public ServantRetentionPolicyValueHolder (org.omg.PortableServer.ServantRetentionPolicyValue initialValue)
  {
    value = initialValue;
  }

  public void _read (org.omg.CORBA.portable.InputStream i)
  {
    value = org.omg.PortableServer.ServantRetentionPolicyValueHelper.read (i);
  }

  public void _write (org.omg.CORBA.portable.OutputStream o)
  {
    org.omg.PortableServer.ServantRetentionPolicyValueHelper.write (o, value);
  }

  public org.omg.CORBA.TypeCode _type ()
  {
    return org.omg.PortableServer.ServantRetentionPolicyValueHelper.type ();
  }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy