|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.omg.PortableServer.ServantLocatorPackage.CookieHolder
public final class CookieHolder
The CookieHolder is used together with the
ServantLocator
, allowing the
ServantLocatorOperations.preinvoke(byte[], org.omg.PortableServer.POA, java.lang.String, org.omg.PortableServer.ServantLocatorPackage.CookieHolder)
to return an arbitrary java.lang.Object that will be later passed to
ServantLocatorOperations.postinvoke(byte[], org.omg.PortableServer.POA, java.lang.String, java.lang.Object, org.omg.PortableServer.Servant)
.
ServantLocatorOperations
,
ServantManager
Field Summary | |
---|---|
Object |
value
The wrapped java.lang.Object. |
Constructor Summary | |
---|---|
CookieHolder()
Create the unitialised instance of this holder. |
|
CookieHolder(Object initial)
Create the instance, intialising the value field to the passed
value. |
Method Summary | |
---|---|
void |
_read(InputStream input)
java.lang.Object is outside the scope of the CORBA standards and the read operation cannot be supported in a language-neutral way. |
TypeCode |
_type()
There is no CORBA typecode that would specifically match a java.lang.Object. |
void |
_write(OutputStream output)
java.lang.Object is outside the scope of the CORBA standards and the write operation cannot be supported in a language-neutral way. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public Object value
Constructor Detail |
---|
public CookieHolder()
public CookieHolder(Object initial)
value
field to the passed
value.
Method Detail |
---|
public void _read(InputStream input)
_read
in interface Streamable
input
- the input stream to read from.
NO_IMPLEMENT
- always.public TypeCode _type()
_type
in interface Streamable
NO_IMPLEMENT
- always.public void _write(OutputStream output)
_write
in interface Streamable
output
- the output stream to write into.
NO_IMPLEMENT
- always.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |