public final class PolicyFactoryHolder extends Object implements Streamable
CORBA.ORB.create_policy.
A portable ORB service implementation registers an instance of the
PolicyFactory interface during ORB initialization in order
to enable its policy types to be constructed using
CORBA.ORB.create_policy. The POA is required to preserve
any policy which is registered with ORBInitInfo in this
manner.
| Modifier and Type | Field and Description |
|---|---|
PolicyFactory |
value |
| Constructor and Description |
|---|
PolicyFactoryHolder() |
PolicyFactoryHolder(PolicyFactory initialValue) |
| Modifier and Type | Method and Description |
|---|---|
void |
_read(InputStream i)
Reads data from
istream and initalizes the
value field of the Holder with the unmarshalled data. |
TypeCode |
_type()
Retrieves the
TypeCode object corresponding to the value
in the value field of the Holder. |
void |
_write(OutputStream o)
Marshals to
ostream the value in the
value field of the Holder. |
public PolicyFactory value
public PolicyFactoryHolder()
public PolicyFactoryHolder(PolicyFactory initialValue)
public void _read(InputStream i)
Streamableistream and initalizes the
value field of the Holder with the unmarshalled data._read in interface Streamablei - the InputStream that represents the CDR data from the wire.public void _write(OutputStream o)
Streamableostream the value in the
value field of the Holder._write in interface Streamableo - the CDR OutputStreampublic TypeCode _type()
StreamableTypeCode object corresponding to the value
in the value field of the Holder._type in interface StreamableTypeCode object for the value held in the holderCopyright © 2018 JBoss by Red Hat. All rights reserved.