org.omg.PortableServer
Class LifespanPolicyValue
java.lang.Object
  
org.omg.PortableServer.LifespanPolicyValue
- All Implemented Interfaces: 
 - java.io.Serializable, IDLEntity
 
public final class LifespanPolicyValue
- extends java.lang.Object
- implements 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
 
          PERSISTENT - The objects implemented in the POA can outlive the
       process in which they are first created. | 
static int | 
_TRANSIENT
 
          TRANSIENT - The objects implemented in the POA cannot outlive
       the POA instance in which they are first created. | 
static LifespanPolicyValue | 
PERSISTENT
 
          PERSISTENT - The objects implemented in the POA can outlive the
       process in which they are first created. | 
static LifespanPolicyValue | 
TRANSIENT
 
          TRANSIENT - The objects implemented in the POA cannot outlive
       the POA instance in which they are first created. | 
 
 
| Methods inherited from class java.lang.Object | 
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
_TRANSIENT
public static final int _TRANSIENT
- TRANSIENT - The objects implemented in the POA cannot outlive
       the POA instance in which they are first created. Once the POA
       is deactivated, use of any object references generated from it
       will result in an OBJECT_NOT_EXIST
- See Also:
 - Constant Field Values
 
 
_PERSISTENT
public static final int _PERSISTENT
- PERSISTENT - The objects implemented in the POA can outlive the
       process in which they are first created.
       
       -  Persistent objects
       have a POA associated with them (the POA which created them).
       When the ORB receives a request on a persistent object, it first
       searches for the matching POA, based on the names of the POA and
       all of its ancestors.
       
 - Administrative action beyond the scope of
       this specification may be necessary to inform the ORB's location
       service of the creation and eventual termination of existence of
       this POA, and optionally to arrange for on-demand activation of
       a process implementing this POA.
       
 - POA names must be unique
       within their enclosing scope (the parent POA). A portable
       program can assume that POA names used in other processes will
       not conflict with its own POA names. A conforming CORBA
       implementation will provide a method for ensuring this
       property.
       
 
- See Also:
 - Constant Field Values
 
 
TRANSIENT
public static final LifespanPolicyValue TRANSIENT
- TRANSIENT - The objects implemented in the POA cannot outlive
       the POA instance in which they are first created. Once the POA
       is deactivated, use of any object references generated from it
       will result in an OBJECT_NOT_EXIST
 
PERSISTENT
public static final LifespanPolicyValue PERSISTENT
- PERSISTENT - The objects implemented in the POA can outlive the
       process in which they are first created.
       
       -  Persistent objects
       have a POA associated with them (the POA which created them).
       When the ORB receives a request on a persistent object, it first
       searches for the matching POA, based on the names of the POA and
       all of its ancestors.
       
 - Administrative action beyond the scope of
       this specification may be necessary to inform the ORB's location
       service of the creation and eventual termination of existence of
       this POA, and optionally to arrange for on-demand activation of
       a process implementing this POA.
       
 - POA names must be unique
       within their enclosing scope (the parent POA). A portable
       program can assume that POA names used in other processes will
       not conflict with its own POA names. A conforming CORBA
       implementation will provide a method for ensuring this
       property.
       
 
 
value
public int value()
 
 
from_int
public static LifespanPolicyValue from_int(int _vis_value)
 
 
                 Read the latest documentation online