org.norther.tammi.spray.mail
Class DefaultMailbotFilter

java.lang.Object
  extended by org.norther.tammi.core.base.Adaptee
      extended by org.norther.tammi.core.mail.DefaultMailbot
          extended by org.norther.tammi.spray.mail.DefaultMailbotFilter
All Implemented Interfaces:
Serializable, NotificationBroadcaster, NotificationEmitter, Filter, Manageable, MBeanDelegate, Mailbot, MailbotFilter

public class DefaultMailbotFilter
extends DefaultMailbot
implements MailbotFilter

A default implementation of MailbotFilter.

Version:
$Id: DefaultMailbotFilter.java,v 1.2 2009/09/28 15:08:31 cvsimp Exp $
Author:
Ilkka Priha
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.norther.tammi.core.base.Adaptee
ADAPTEE_NOTIF_DESCRIPTION, ADAPTEE_NOTIFICATIONS
 
Fields inherited from interface org.norther.tammi.core.mail.Mailbot
MAIL_BCC, MAIL_BODY, MAIL_CC, MAIL_FROM, MAIL_MIME_CHARSET, MAIL_REPLY_TO, MAIL_SUBJECT
 
Constructor Summary
DefaultMailbotFilter()
          Constructs a new filter.
 
Method Summary
 void destroy()
           
 void doFilter(ServletRequest request, ServletResponse response, FilterChain chain)
           
 void init(FilterConfig config)
           
 
Methods inherited from class org.norther.tammi.core.mail.DefaultMailbot
getDefaultLocale, getDefaultMessage, getMailerName, getMailQualifier, getResourceMap, getResourceMapName, postmanaged, sendMessage, sendMessage, setDefaultLocale, setDefaultMessage, setMailerName, setMailQualifier, setResourceMapName, unmanaged
 
Methods inherited from class org.norther.tammi.core.base.Adaptee
addAdaptee, addNotificationListener, getAttributeSupport, getBroker, getCanonicalName, getDomain, getFactory, getLoader, getLog, getLog, getMBean, getMBeanServer, getNotificationInfo, getObjectName, getRegistrationTime, getSequenceNumber, hasListeners, isRegistered, premanaged, removeNotificationListener, removeNotificationListener, sendNotification, sendNotification, sendNotification, sendNotification, unregister
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.norther.tammi.core.mail.Mailbot
getDefaultLocale, getDefaultMessage, getMailerName, getMailQualifier, getResourceMapName, sendMessage, sendMessage, setDefaultLocale, setDefaultMessage, setMailerName, setMailQualifier, setResourceMapName
 

Constructor Detail

DefaultMailbotFilter

public DefaultMailbotFilter()
Constructs a new filter.

Method Detail

init

public void init(FilterConfig config)
          throws ServletException
Specified by:
init in interface Filter
Throws:
ServletException

destroy

public void destroy()
Specified by:
destroy in interface Filter

doFilter

public void doFilter(ServletRequest request,
                     ServletResponse response,
                     FilterChain chain)
              throws ServletException,
                     IOException
Specified by:
doFilter in interface Filter
Throws:
ServletException
IOException


Copyright © 2004 The Norther Organization. All rights reserved.