|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.omg.PortableServer.RequestProcessingPolicyValue
public class RequestProcessingPolicyValue
Specifies the behaviour in the case when the
requested object is not found in the Active Object Map or that map
is not in use. The map is not in use when the
ServantRetentionPolicyValue.NON_RETAIN
policy is active.
OBJECT_NOT_EXIST
with the minor code 2. ServantRetentionPolicyValue.RETAIN
policy is
also required.
OBJ_ADAPTER
with minor code 3.
IdUniquenessPolicyValue.MULTIPLE_ID
is also required.
OBJ_ADAPTER
with the minor code 4.
Field Summary | |
---|---|
static int |
_USE_ACTIVE_OBJECT_MAP_ONLY
The possible value of this enumeration (USE_ACTIVE_OBJECT_MAP_ONLY). |
static int |
_USE_DEFAULT_SERVANT
The possible value of this enumeration (USE_DEFAULT_SERVANT). |
static int |
_USE_SERVANT_MANAGER
The possible value of this enumeration (USE_SERVANT_MANAGER). |
static RequestProcessingPolicyValue |
USE_ACTIVE_OBJECT_MAP_ONLY
An instance of RequestProcessingPolicyValue, initialized to USE_ACTIVE_OBJECT_MAP_ONLY. |
static RequestProcessingPolicyValue |
USE_DEFAULT_SERVANT
An instance of RequestProcessingPolicyValue, initialized to USE_DEFAULT_SERVANT. |
static RequestProcessingPolicyValue |
USE_SERVANT_MANAGER
An instance of RequestProcessingPolicyValue, initialized to USE_SERVANT_MANAGER. |
Constructor Summary | |
---|---|
protected |
RequestProcessingPolicyValue(int a_value)
Normally, no new instances are required, so the constructor is protected. |
Method Summary | |
---|---|
static RequestProcessingPolicyValue |
from_int(int code)
Returns the RequestProcessingPolicyValue, 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 _USE_ACTIVE_OBJECT_MAP_ONLY
public static final RequestProcessingPolicyValue USE_ACTIVE_OBJECT_MAP_ONLY
public static final int _USE_DEFAULT_SERVANT
public static final RequestProcessingPolicyValue USE_DEFAULT_SERVANT
public static final int _USE_SERVANT_MANAGER
public static final RequestProcessingPolicyValue USE_SERVANT_MANAGER
Constructor Detail |
---|
protected RequestProcessingPolicyValue(int a_value)
Method Detail |
---|
public static RequestProcessingPolicyValue from_int(int code)
code
- one of _USE_ACTIVE_OBJECT_MAP_ONLY, _USE_DEFAULT_SERVANT, _USE_SERVANT_MANAGER.
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 |