org.omg.PortableServer
Interface RequestProcessingPolicyOperations
- All Superinterfaces:
- PolicyOperations
- All Known Subinterfaces:
- RequestProcessingPolicy
public interface RequestProcessingPolicyOperations
- extends PolicyOperations
Objects with the RequestProcessingPolicy interface are obtained
using the POA::create_request_processing_policy operation and
passed to the POA::create_POA operation to specify how requests
are processed by the created POA. The following values can be
supplied.
- USE_ACTIVE_OBJECT_MAP_ONLY - If the Object Id is not found in the
Active Object Map, an OBJECT_NOT_EXIST exception is returned to
the client. The RETAIN policy is also required.
- USE_DEFAULT_SERVANT - If the Object Id is not found in the
Active Object Map or the NON_RETAIN policy is present, and a
default servant has been registered with the POA using the
set_servant operation, the request is dispatched to the default
servant. If no default servant has been registered, an OBJ_ADAPTER
exception is returned to the client. The MULTIPLE_ID policy is
also required.
- USE_SERVANT_MANAGER - If the Object Id is not found in the
Active Object Map or the NON_RETAIN policy is present, and a
servant manager has been registered with the POA using the
set_servant_manager operation, the servant manager is given the
opportunity to locate a servant or raise an exception. If no
servant manager has been registered, an OBJECT_ADAPTER exception
is returned to the client.
If no RequestProcessingPolicy is specified at POA creation, the
default is USE_ACTIVE_OBJECT_MAP_ONLY.
value
RequestProcessingPolicyValue value()
Read the latest documentation online