Serialized Form


Package com.hazelcast.web.tomcat

Class com.hazelcast.web.tomcat.HazelcastAttribute extends Object implements Serializable

Serialized Fields

sessionId

String sessionId

name

String name

value

Object value

Class com.hazelcast.web.tomcat.HazelcastSession extends org.apache.catalina.session.StandardSession implements Serializable

Serialization Methods

readObject

protected void readObject(ObjectInputStream stream)
                   throws ClassNotFoundException,
                          IOException
Read a serialized version of this session object from the specified object input stream.

IMPLEMENTATION NOTE: The reference to the owning Manager is not restored by this method, and must be set explicitly.

Throws:
ClassNotFoundException - if an unknown class is specified
IOException - if an input/output error occurs

writeObject

protected void writeObject(ObjectOutputStream stream)
                    throws IOException
Write a serialized version of this session object to the specified object output stream.

IMPLEMENTATION NOTE: The owning Manager will not be stored in the serialized representation of this Session. After calling readObject(), you must set the associated Manager explicitly.

IMPLEMENTATION NOTE: Any attribute that is not Serializable will be unbound from the session, with appropriate actions if it implements HttpSessionBindingListener. If you do not want any such attributes, be sure the distributable property of the associated Manager is set to true.

Throws:
IOException - if an input/output error occurs



Copyright © 2012 Hazel Bilisim Ltd.. All Rights Reserved.