Please note that this translation of the specification is the result of a java.net community project ( https://jdk5-api-pt-br.dev.java.net/ ). The official version of the specification is the US English language version which can be found at http://java.sun.com/j2se/1.5.0/docs/api/. In case of disputes, the authoritative version of the specification is the original, English document.
|
JavaTM 2 Platform Standard Ed. 5.0 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.omg.CosNaming.NamingContextHolder
public final class NamingContextHolder
A naming context is an object that contains a set of name bindings in which each name is unique. Different names can be bound to an object in the same or different contexts at the same time.
See CORBA COS Naming Specification.
| Field Summary | |
|---|---|
NamingContext |
value
|
| Constructor Summary | |
|---|---|
NamingContextHolder()
|
|
NamingContextHolder(NamingContext initialValue)
|
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public NamingContext value
| Constructor Detail |
|---|
public NamingContextHolder()
public NamingContextHolder(NamingContext initialValue)
| Method Detail |
|---|
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 holder
|
JavaTM 2 Platform Standard Ed. 5.0 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Copyright 2006 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms.
Copyright 2006 Sun Microsystems, Inc. Todos os direitos reservados. O uso está sujeito aos termos da licensa.