Name
LifespanPolicyValue
Synopsis
This class represents the value of an LifespanPolicy
for a POA. A
value of LifespanPolicyValue.TRANSIENT
indicates that servants are
transient and do not live beyond the life of the POA process. A value
of LifespanPolicyValue.PERSISTENT
indicates that servants can live
beyond the lifetime of the POA process. The default value is
TRANSIENT
.
public class LifespanPolicyValue implements org.omg.CORBA.portable.IDLEntity { // Protected Constructors protected LifespanPolicyValue( int value); // Public Constants public static final int _PERSISTENT; // =1 public static final int _TRANSIENT; // =0 public static final LifespanPolicyValue PERSISTENT; public static final LifespanPolicyValue TRANSIENT; // Public Class Methods public static LifespanPolicyValue from_int( int value); // Public Instance Methods public int value(); }
Passed To
POAOperations.create_lifespan_policy()
Returned By
LifespanPolicyOperations.value()
, LifespanPolicyValue.from_int()
Type Of
LifespanPolicyValue.{PERSISTENT
, TRANSIENT}
Get Java Enterprise in a Nutshell, Second Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.