Streamable
public final class NamingContextExtHolder extends Object implements Streamable
NamingContextExt
is the extension of NamingContext
which
contains a set of name bindings in which each name is unique and is
part of Interoperable Naming Service.
Different names can be bound to an object in the same or different
contexts at the same time. Using NamingContextExt
, you can use
URL-based names to bind and resolve.
See
CORBA COS
Naming Specification.Modifier and Type | Field | Description |
---|---|---|
NamingContextExt |
value |
Constructor | Description |
---|---|
NamingContextExtHolder() |
|
NamingContextExtHolder(NamingContextExt initialValue) |
Modifier and Type | Method | 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 NamingContextExt value
public NamingContextExtHolder()
public NamingContextExtHolder(NamingContextExt initialValue)
public void _read(InputStream i)
Streamable
istream
and initalizes the
value
field of the Holder with the unmarshalled data._read
in interface Streamable
i
- the InputStream that represents the CDR data from the wire.public void _write(OutputStream o)
Streamable
ostream
the value in the
value
field of the Holder._write
in interface Streamable
o
- the CDR OutputStreampublic TypeCode _type()
Streamable
TypeCode
object corresponding to the value
in the value
field of the Holder._type
in interface Streamable
TypeCode
object for the value held in the holder Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2017, Oracle and/or its affiliates. 500 Oracle Parkway
Redwood Shores, CA 94065 USA. All rights reserved.
DRAFT 9-internal+0-adhoc.mlchung.jdk9-jdeps