public final class ORBInitInfoHolder extends Object implements Streamable
ORBInitializer, allowing it to
to register interceptors and perform other duties while the ORB is
initializing.
The ORBInitInfo object is only valid during
ORB.init. If a service keeps a reference to its
ORBInitInfo object and tries to use it after
ORB.init returns, the object no longer exists and an
OBJECT_NOT_EXIST exception shall be thrown.
ORBInitializer| Modifier and Type | Field and Description |
|---|---|
ORBInitInfo |
value |
| Constructor and Description |
|---|
ORBInitInfoHolder() |
ORBInitInfoHolder(ORBInitInfo 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 ORBInitInfo value
public ORBInitInfoHolder()
public ORBInitInfoHolder(ORBInitInfo 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 © 2017 JBoss by Red Hat. All rights reserved.