public final class CookieHolder extends Object implements Streamable
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| Modifier and Type | Field and Description |
|---|---|
Object |
value
The wrapped java.lang.Object.
|
| Constructor and Description |
|---|
CookieHolder()
Create the unitialised instance of this holder.
|
CookieHolder(Object initial)
Create the instance, intialising the
value field to the passed
value. |
| Modifier and Type | Method and Description |
|---|---|
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.
|
public CookieHolder()
public CookieHolder(Object initial)
value field to the passed
value.public void _read(InputStream input)
_read in interface Streamableinput - the input stream to read from.NO_IMPLEMENT - always.public TypeCode _type()
_type in interface StreamableNO_IMPLEMENT - always.public void _write(OutputStream output)
_write in interface Streamableoutput - the output stream to write into.NO_IMPLEMENT - always.