org.omg.PortableServer
Class ServantRetentionPolicyValue

java.lang.Object sample code for java.lang.Object definition code for java.lang.Object 
  extended by org.omg.PortableServer.ServantRetentionPolicyValue
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 ServantRetentionPolicyValue
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

ServantRetentionPolicyValue can have the following values. RETAIN - to indicate that the POA will retain active servants in its Active Object Map. NON_RETAIN - to indicate Servants are not retained by the POA. If no ServantRetentionPolicy is specified at POA creation, the default is RETAIN.

See Also:
Serialized Form

Field Summary
static int _NON_RETAIN
           
static int _RETAIN
           
static ServantRetentionPolicyValue sample code for org.omg.PortableServer.ServantRetentionPolicyValue definition code for org.omg.PortableServer.ServantRetentionPolicyValue NON_RETAIN sample code for org.omg.PortableServer.ServantRetentionPolicyValue.NON_RETAIN definition code for org.omg.PortableServer.ServantRetentionPolicyValue.NON_RETAIN
           
static ServantRetentionPolicyValue sample code for org.omg.PortableServer.ServantRetentionPolicyValue definition code for org.omg.PortableServer.ServantRetentionPolicyValue RETAIN sample code for org.omg.PortableServer.ServantRetentionPolicyValue.RETAIN definition code for org.omg.PortableServer.ServantRetentionPolicyValue.RETAIN
           
 
Constructor Summary
protected ServantRetentionPolicyValue sample code for org.omg.PortableServer.ServantRetentionPolicyValue.ServantRetentionPolicyValue(int) definition code for org.omg.PortableServer.ServantRetentionPolicyValue.ServantRetentionPolicyValue(int) (int value)
           
 
Method Summary
static ServantRetentionPolicyValue sample code for org.omg.PortableServer.ServantRetentionPolicyValue definition code for org.omg.PortableServer.ServantRetentionPolicyValue from_int sample code for org.omg.PortableServer.ServantRetentionPolicyValue.from_int(int) definition code for org.omg.PortableServer.ServantRetentionPolicyValue.from_int(int) (int value)
           
 int value sample code for org.omg.PortableServer.ServantRetentionPolicyValue.value() definition code for org.omg.PortableServer.ServantRetentionPolicyValue.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

_RETAIN sample code for org.omg.PortableServer.ServantRetentionPolicyValue._RETAIN

public static final int _RETAIN
See Also:
Constant Field Values

RETAIN sample code for org.omg.PortableServer.ServantRetentionPolicyValue.RETAIN

public static final ServantRetentionPolicyValue sample code for org.omg.PortableServer.ServantRetentionPolicyValue definition code for org.omg.PortableServer.ServantRetentionPolicyValue  RETAIN

_NON_RETAIN sample code for org.omg.PortableServer.ServantRetentionPolicyValue._NON_RETAIN

public static final int _NON_RETAIN
See Also:
Constant Field Values

NON_RETAIN sample code for org.omg.PortableServer.ServantRetentionPolicyValue.NON_RETAIN

public static final ServantRetentionPolicyValue sample code for org.omg.PortableServer.ServantRetentionPolicyValue definition code for org.omg.PortableServer.ServantRetentionPolicyValue  NON_RETAIN
Constructor Detail

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

protected ServantRetentionPolicyValue(int value)
Method Detail

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

public int value()

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

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