org.apache.cocoon.mail
Class MailContextHttpSession

java.lang.Object
  extended byorg.apache.avalon.framework.context.DefaultContext
      extended byorg.apache.cocoon.mail.MailContext
          extended byorg.apache.cocoon.mail.MailContextHttpSession
All Implemented Interfaces:
Context, EventListener, HttpSessionBindingListener, Serializable

public class MailContextHttpSession
extends MailContext
implements HttpSessionBindingListener

An extension of MailContext.

It implments HttpSessionBindingListener for manging MailContext resources in case of valueUnbound - ie. session removal.

Since:
02 January 2003
Version:
$Id: MailContextHttpSession.html 1304280 2012-03-23 11:18:01Z ilgrosso $
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.apache.cocoon.mail.MailContext
MAIL_CURRENT_WORKING_COMMAND_ENTRY, MAIL_CURRENT_WORKING_FOLDER_ENTRY, MAIL_SESSION_ENTRY, MAIL_STORE_ENTRY, SESSION_MAIL_CONTEXT
 
Constructor Summary
MailContextHttpSession(Context parent)
          Constructor for the MailContextHttpSession object
 
Method Summary
 void valueBound(HttpSessionBindingEvent event)
          Notifies the object that it is being bound to a session and identifies the session.
 void valueUnbound(HttpSessionBindingEvent event)
          Notifies the object that it is being unbound from a session and identifies the session.
 
Methods inherited from class org.apache.cocoon.mail.MailContext
canoncializeFoldername, get, getFolder, getLogger, getParameter, getParameterAsInteger, getTheFolder, putFolder, putFolder, removeAllFolders, removeStore, setRequest
 
Methods inherited from class org.apache.avalon.framework.context.DefaultContext
checkWriteable, equals, getContextData, getParent, hashCode, hide, makeReadOnly, put
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MailContextHttpSession

public MailContextHttpSession(Context parent)
Constructor for the MailContextHttpSession object

Parameters:
parent - Description of the Parameter
Method Detail

valueBound

public void valueBound(HttpSessionBindingEvent event)
Notifies the object that it is being bound to a session and identifies the session.

Specified by:
valueBound in interface HttpSessionBindingListener
Parameters:
event - Description of the Parameter

valueUnbound

public void valueUnbound(HttpSessionBindingEvent event)
Notifies the object that it is being unbound from a session and identifies the session.

Specified by:
valueUnbound in interface HttpSessionBindingListener
Parameters:
event - Description of the Parameter


Copyright 1999-2008 The Apache Software Foundation. All Rights Reserved.