VisiBroker for Java

org.omg.PortableServer
Class LifespanPolicyValue

java.lang.Object
  extended by 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.
 
Method Summary
static LifespanPolicyValue from_int(int _vis_value)
           
 int value()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_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.

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.

Method Detail

value

public int value()

from_int

public static LifespanPolicyValue from_int(int _vis_value)

Borland Software Corporation
http://www.borland.com
100 Enterprise Way
Scotts Valley, CA 95066
Voice: (831) 431-1000
pubsweb@borland.com

Read the latest documentation online