|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.omg.PortableServer.ServantRetentionPolicyValue
public class ServantRetentionPolicyValue
Specifies the servant retention policy. This enumeration can obtain the following values:
Field Summary | |
---|---|
static int |
_NON_RETAIN
The possible value of this enumeration (NON_RETAIN). |
static int |
_RETAIN
The possible value of this enumeration (RETAIN). |
static ServantRetentionPolicyValue |
NON_RETAIN
An instance of ServantRetentionPolicyValue, indicating that the POA does not use the Active Object Map. |
static ServantRetentionPolicyValue |
RETAIN
An instance of ServantRetentionPolicyValue, indicating that the POA retains active servants in its Active Object Map. |
Constructor Summary | |
---|---|
protected |
ServantRetentionPolicyValue(int a_value)
Normally, no new instances are required, so the constructor is protected. |
Method Summary | |
---|---|
static ServantRetentionPolicyValue |
from_int(int code)
Returns the ServantRetentionPolicyValue, matching the given integer constant. |
String |
toString()
Returns a short string representation. |
int |
value()
Returns the integer code of the policy value. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final int _RETAIN
public static final ServantRetentionPolicyValue RETAIN
public static final int _NON_RETAIN
public static final ServantRetentionPolicyValue NON_RETAIN
Constructor Detail |
---|
protected ServantRetentionPolicyValue(int a_value)
Method Detail |
---|
public static ServantRetentionPolicyValue from_int(int code)
code
- one of _RETAIN, _NON_RETAIN.
BAD_PARAM
- if the parameter is not one of the valid values.public String toString()
toString
in class Object
Object.getClass()
,
Object.hashCode()
,
Class.getName()
,
Integer.toHexString(int)
public int value()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |