|
Java™ Platform Standard Ed. 6 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.omg.PortableInterceptor.ObjectReferenceTemplateHolder
public final class ObjectReferenceTemplateHolder
The object reference template. An instance of this must exist for each object adapter created in an ORB. The server_id, orb_id, and adapter_name attributes uniquely identify this template within the scope of an IMR. Note that adapter_id is similarly unique within the same scope, but it is opaque, and less useful in many cases.
Field Summary | |
---|---|
ObjectReferenceTemplate |
value
|
Constructor Summary | |
---|---|
ObjectReferenceTemplateHolder()
|
|
ObjectReferenceTemplateHolder(ObjectReferenceTemplate 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 ObjectReferenceTemplate value
Constructor Detail |
---|
public ObjectReferenceTemplateHolder()
public ObjectReferenceTemplateHolder(ObjectReferenceTemplate initialValue)
Method Detail |
---|
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
|
Java™ Platform Standard Ed. 6 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright © 1993, 2010, Oracle and/or its affiliates. All rights reserved.