Package org.omg.PortableServer
Class RequestProcessingPolicyValueHolder
java.lang.Object
org.omg.PortableServer.RequestProcessingPolicyValueHolder
- All Implemented Interfaces:
Streamable
The RequestProcessingPolicyValue can have the following
values. 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.
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.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescription -
Method Summary
Modifier and TypeMethodDescriptionvoid
_read
(InputStream i) Reads data fromistream
and initalizes thevalue
field of the Holder with the unmarshalled data._type()
Retrieves theTypeCode
object corresponding to the value in thevalue
field of the Holder.void
Marshals toostream
the value in thevalue
field of the Holder.
-
Field Details
-
value
-
-
Constructor Details
-
RequestProcessingPolicyValueHolder
public RequestProcessingPolicyValueHolder() -
RequestProcessingPolicyValueHolder
-
-
Method Details
-
_read
Description copied from interface:Streamable
Reads data fromistream
and initalizes thevalue
field of the Holder with the unmarshalled data.- Specified by:
_read
in interfaceStreamable
- Parameters:
i
- the InputStream that represents the CDR data from the wire.
-
_write
Description copied from interface:Streamable
Marshals toostream
the value in thevalue
field of the Holder.- Specified by:
_write
in interfaceStreamable
- Parameters:
o
- the CDR OutputStream
-
_type
Description copied from interface:Streamable
Retrieves theTypeCode
object corresponding to the value in thevalue
field of the Holder.- Specified by:
_type
in interfaceStreamable
- Returns:
- the
TypeCode
object for the value held in the holder
-