org.omg.PortableServer
Class LifespanPolicyValue

java.lang.Object sample code for java.lang.Object definition code for java.lang.Object 
  extended by org.omg.PortableServer.LifespanPolicyValue
All Implemented Interfaces:
Serializable sample code for java.io.Serializable definition code for java.io.Serializable , IDLEntity sample code for org.omg.CORBA.portable.IDLEntity definition code for org.omg.CORBA.portable.IDLEntity

public class LifespanPolicyValue
extends Object sample code for java.lang.Object definition code for java.lang.Object
implements IDLEntity sample code for org.omg.CORBA.portable.IDLEntity definition code for org.omg.CORBA.portable.IDLEntity

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.

See Also:
Serialized Form

Field Summary
static int _PERSISTENT
           
static int _TRANSIENT
           
static LifespanPolicyValue sample code for org.omg.PortableServer.LifespanPolicyValue definition code for org.omg.PortableServer.LifespanPolicyValue PERSISTENT sample code for org.omg.PortableServer.LifespanPolicyValue.PERSISTENT definition code for org.omg.PortableServer.LifespanPolicyValue.PERSISTENT
           
static LifespanPolicyValue sample code for org.omg.PortableServer.LifespanPolicyValue definition code for org.omg.PortableServer.LifespanPolicyValue TRANSIENT sample code for org.omg.PortableServer.LifespanPolicyValue.TRANSIENT definition code for org.omg.PortableServer.LifespanPolicyValue.TRANSIENT
           
 
Constructor Summary
protected LifespanPolicyValue sample code for org.omg.PortableServer.LifespanPolicyValue.LifespanPolicyValue(int) definition code for org.omg.PortableServer.LifespanPolicyValue.LifespanPolicyValue(int) (int value)
           
 
Method Summary
static LifespanPolicyValue sample code for org.omg.PortableServer.LifespanPolicyValue definition code for org.omg.PortableServer.LifespanPolicyValue from_int sample code for org.omg.PortableServer.LifespanPolicyValue.from_int(int) definition code for org.omg.PortableServer.LifespanPolicyValue.from_int(int) (int value)
           
 int value sample code for org.omg.PortableServer.LifespanPolicyValue.value() definition code for org.omg.PortableServer.LifespanPolicyValue.value() ()
           
 
Methods inherited from class java.lang.Object sample code for java.lang.Object definition code for java.lang.Object
clone sample code for java.lang.Object.clone() definition code for java.lang.Object.clone() , equals sample code for java.lang.Object.equals(java.lang.Object) definition code for java.lang.Object.equals(java.lang.Object) , finalize sample code for java.lang.Object.finalize() definition code for java.lang.Object.finalize() , getClass sample code for java.lang.Object.getClass() definition code for java.lang.Object.getClass() , hashCode sample code for java.lang.Object.hashCode() definition code for java.lang.Object.hashCode() , notify sample code for java.lang.Object.notify() definition code for java.lang.Object.notify() , notifyAll sample code for java.lang.Object.notifyAll() definition code for java.lang.Object.notifyAll() , toString sample code for java.lang.Object.toString() definition code for java.lang.Object.toString() , wait sample code for java.lang.Object.wait() definition code for java.lang.Object.wait() , wait sample code for java.lang.Object.wait(long) definition code for java.lang.Object.wait(long) , wait sample code for java.lang.Object.wait(long, int) definition code for java.lang.Object.wait(long, int)
 

Field Detail

_TRANSIENT sample code for org.omg.PortableServer.LifespanPolicyValue._TRANSIENT

public static final int _TRANSIENT
See Also:
Constant Field Values

TRANSIENT sample code for org.omg.PortableServer.LifespanPolicyValue.TRANSIENT

public static final LifespanPolicyValue sample code for org.omg.PortableServer.LifespanPolicyValue definition code for org.omg.PortableServer.LifespanPolicyValue  TRANSIENT

_PERSISTENT sample code for org.omg.PortableServer.LifespanPolicyValue._PERSISTENT

public static final int _PERSISTENT
See Also:
Constant Field Values

PERSISTENT sample code for org.omg.PortableServer.LifespanPolicyValue.PERSISTENT

public static final LifespanPolicyValue sample code for org.omg.PortableServer.LifespanPolicyValue definition code for org.omg.PortableServer.LifespanPolicyValue  PERSISTENT
Constructor Detail

LifespanPolicyValue sample code for org.omg.PortableServer.LifespanPolicyValue(int) definition code for org.omg.PortableServer.LifespanPolicyValue(int)

protected LifespanPolicyValue(int value)
Method Detail

value sample code for org.omg.PortableServer.LifespanPolicyValue.value() definition code for org.omg.PortableServer.LifespanPolicyValue.value()

public int value()

from_int sample code for org.omg.PortableServer.LifespanPolicyValue.from_int(int) definition code for org.omg.PortableServer.LifespanPolicyValue.from_int(int)

public static LifespanPolicyValue sample code for org.omg.PortableServer.LifespanPolicyValue definition code for org.omg.PortableServer.LifespanPolicyValue  from_int(int value)