org.omg.PortableServer
Class RequestProcessingPolicyValue

java.lang.Object
  extended by org.omg.PortableServer.RequestProcessingPolicyValue
All Implemented Interfaces:
Serializable, IDLEntity

public class RequestProcessingPolicyValue
extends Object
implements Serializable, IDLEntity

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.

See Also:
Serialized Form

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

_USE_ACTIVE_OBJECT_MAP_ONLY

public static final int _USE_ACTIVE_OBJECT_MAP_ONLY
The possible value of this enumeration (USE_ACTIVE_OBJECT_MAP_ONLY).

See Also:
Constant Field Values

USE_ACTIVE_OBJECT_MAP_ONLY

public static final RequestProcessingPolicyValue USE_ACTIVE_OBJECT_MAP_ONLY
An instance of RequestProcessingPolicyValue, initialized to USE_ACTIVE_OBJECT_MAP_ONLY.


_USE_DEFAULT_SERVANT

public static final int _USE_DEFAULT_SERVANT
The possible value of this enumeration (USE_DEFAULT_SERVANT).

See Also:
Constant Field Values

USE_DEFAULT_SERVANT

public static final RequestProcessingPolicyValue USE_DEFAULT_SERVANT
An instance of RequestProcessingPolicyValue, initialized to USE_DEFAULT_SERVANT.


_USE_SERVANT_MANAGER

public static final int _USE_SERVANT_MANAGER
The possible value of this enumeration (USE_SERVANT_MANAGER).

See Also:
Constant Field Values

USE_SERVANT_MANAGER

public static final RequestProcessingPolicyValue USE_SERVANT_MANAGER
An instance of RequestProcessingPolicyValue, initialized to USE_SERVANT_MANAGER.

Constructor Detail

RequestProcessingPolicyValue

protected RequestProcessingPolicyValue(int a_value)
Normally, no new instances are required, so the constructor is protected.

Method Detail

from_int

public static RequestProcessingPolicyValue from_int(int code)
Returns the RequestProcessingPolicyValue, matching the given integer constant.

Parameters:
code - one of _USE_ACTIVE_OBJECT_MAP_ONLY, _USE_DEFAULT_SERVANT, _USE_SERVANT_MANAGER.
Returns:
one of USE_ACTIVE_OBJECT_MAP_ONLY, USE_DEFAULT_SERVANT, USE_SERVANT_MANAGER.
Throws:
BAD_PARAM - if the parameter is not one of the valid values.

toString

public String toString()
Returns a short string representation.

Overrides:
toString in class Object
Returns:
the name of the current enumeration value.
See Also:
Object.getClass(), Object.hashCode(), Class.getName(), Integer.toHexString(int)

value

public int value()
Returns the integer code of the policy value.

Returns:
one of _USE_ACTIVE_OBJECT_MAP_ONLY, _USE_DEFAULT_SERVANT, _USE_SERVANT_MANAGER.