Class LifespanPolicyValue

All Implemented Interfaces:
Serializable, IDLEntity

public class LifespanPolicyValue
extends 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.

Fields

Modifier and Type Field and Description
static int _PERSISTENT
static int _TRANSIENT
static LifespanPolicyValue PERSISTENT
static LifespanPolicyValue TRANSIENT

Constructors

Modifier Constructor and Description
protected LifespanPolicyValue(int value)

Methods

Modifier and Type Method and Description
static LifespanPolicyValue from_int(int value)
int value()

Methods inherited from class java.lang.Object

clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Fields

_TRANSIENT

public static final int _TRANSIENT
See Also:
Constant Field Values

TRANSIENT

public static final LifespanPolicyValue TRANSIENT

_PERSISTENT

public static final int _PERSISTENT
See Also:
Constant Field Values

PERSISTENT

public static final LifespanPolicyValue PERSISTENT

Constructors

LifespanPolicyValue

protected LifespanPolicyValue(int value)

Methods

value

public int value()

from_int

public static LifespanPolicyValue from_int(int value)

© 1993, 2020, Oracle and/or its affiliates. All rights reserved.
Documentation extracted from Debian's OpenJDK Development Kit package.
Licensed under the GNU General Public License, version 2, with the Classpath Exception.
Various third party code in OpenJDK is licensed under different licenses (see Debian package).
Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
https://docs.oracle.com/javase/8/docs/api/org/omg/PortableServer/LifespanPolicyValue.html