Serialized Form


Package org.apache.commons.messagelet

Class org.apache.commons.messagelet.ManagerServlet extends javax.servlet.GenericServlet implements Serializable

Serialized Fields

continueOnSubscribeException

boolean continueOnSubscribeException
Whether exceptions occurring during subscriptions on startup should terminate the initialization

Class org.apache.commons.messagelet.Messagelet extends javax.servlet.GenericServlet implements Serializable


Package org.apache.commons.messagelet.impl

Class org.apache.commons.messagelet.impl.HttpSessionImpl extends Object implements Serializable

Serialization Methods

readObject

private 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

private 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
Serialized Fields

attributes

HashMap attributes
The collection of user data attributes associated with this Session.


creationTime

long creationTime
The time this session was created, in milliseconds since midnight, January 1, 1970 GMT.


id

String id
The session identifier of this Session.


lastAccessedTime

long lastAccessedTime
The last accessed time for this Session.


maxInactiveInterval

int maxInactiveInterval
The maximum time interval, in seconds, between client requests before the servlet container may invalidate this session. A negative time indicates that the session should never time out.


isNew

boolean isNew
Flag indicating whether this session is new or not.


isValid

boolean isValid
Flag indicating whether this session is valid or not.


thisAccessedTime

long thisAccessedTime
The current accessed time for this session.


servletContext

javax.servlet.ServletContext servletContext
The ServletContext


distributable

boolean distributable
Is this session distributable. If so then its values must be Serializable.


Package org.apache.commons.messenger

Class org.apache.commons.messenger.InitMessengerServlet extends javax.servlet.http.HttpServlet implements Serializable

Class org.apache.commons.messenger.MessengerServlet extends javax.servlet.http.HttpServlet implements Serializable

Serialized Fields

messenger

Messenger messenger
Holds value of property messenger.


destination

javax.jms.Destination destination
Holds value of property destination.



Copyright © 2001-2010 The Apache Software Foundation. All Rights Reserved.