org.omg.PortableServer.ServantLocatorPackage

Class CookieHolder

public final class CookieHolder extends Object implements Streamable

The CookieHolder is used together with the {@link org.omg.PortableServer.ServantLocator}, allowing the {@link org.omg.PortableServer.ServantLocatorOperations#preinvoke} to return an arbitrary java.lang.Object that will be later passed to {@link org.omg.PortableServer.ServantLocatorOperations#postinvoke}.

See Also: ServantLocatorOperations

Field Summary
Objectvalue
The wrapped java.lang.Object.
Constructor Summary
CookieHolder()
Create the unitialised instance of this holder.
CookieHolder(Object initial)
Create the instance, intialising the {@link #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.

Field Detail

value

public Object value
The wrapped java.lang.Object.

Constructor Detail

CookieHolder

public CookieHolder()
Create the unitialised instance of this holder.

CookieHolder

public CookieHolder(Object initial)
Create the instance, intialising the {@link #value} field to the passed value.

Method Detail

_read

public 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.

Throws: NO_IMPLEMENT always.

_type

public TypeCode _type()
There is no CORBA typecode that would specifically match a java.lang.Object.

Throws: NO_IMPLEMENT always.

_write

public 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.

Throws: NO_IMPLEMENT always.