public class RequestProcessingPolicyValue extends Object implements Serializable, IDLEntity
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.| Modifier and Type | Field and Description |
|---|---|
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.
|
| Modifier | Constructor and Description |
|---|---|
protected |
RequestProcessingPolicyValue(int a_value)
Normally, no new instances are required, so the constructor is protected.
|
| Modifier and Type | Method and Description |
|---|---|
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.
|
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
protected RequestProcessingPolicyValue(int a_value)
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 ObjectObject.getClass(),
Object.hashCode(),
Class.getName(),
Integer.toHexString(int)public int value()