org.omg.PortableServer.LifespanPolicyValueHolder Maven / Gradle / Ivy
package org.omg.PortableServer;
/**
* org/omg/PortableServer/LifespanPolicyValueHolder.java .
* Generated by the IDL-to-Java compiler (portable), version "3.2"
* from /home/jenkins/agent/workspace/orb-release-build/omgapi/src/main/idl/poa.idl
* Sunday, February 14, 2021 7:42:42 PM GMT
*/
/**
* The LifespanPolicyValue can have the following values.
* TRANSIENT - The objects implemented in the POA
* cannot outlive the POA instance in which they are
* first created.
* PERSISTENT - The objects implemented in the POA can
* outlive the process in which they are first created.
*/
public final class LifespanPolicyValueHolder implements org.omg.CORBA.portable.Streamable
{
public org.omg.PortableServer.LifespanPolicyValue value = null;
public LifespanPolicyValueHolder ()
{
}
public LifespanPolicyValueHolder (org.omg.PortableServer.LifespanPolicyValue initialValue)
{
value = initialValue;
}
public void _read (org.omg.CORBA.portable.InputStream i)
{
value = org.omg.PortableServer.LifespanPolicyValueHelper.read (i);
}
public void _write (org.omg.CORBA.portable.OutputStream o)
{
org.omg.PortableServer.LifespanPolicyValueHelper.write (o, value);
}
public org.omg.CORBA.TypeCode _type ()
{
return org.omg.PortableServer.LifespanPolicyValueHelper.type ();
}
}