org.apache.james.smtpserver
Class MailCmdHandler
java.lang.Object
org.apache.avalon.framework.logger.AbstractLogEnabled
org.apache.james.smtpserver.MailCmdHandler
- All Implemented Interfaces:
- CommandHandler, org.apache.avalon.framework.configuration.Configurable, org.apache.avalon.framework.logger.LogEnabled, org.apache.avalon.framework.service.Serviceable
- public class MailCmdHandler
- extends org.apache.avalon.framework.logger.AbstractLogEnabled
- implements CommandHandler, org.apache.avalon.framework.configuration.Configurable, org.apache.avalon.framework.service.Serviceable
Handles MAIL command
Method Summary |
void |
configure(org.apache.avalon.framework.configuration.Configuration handlerConfiguration)
|
void |
onCommand(SMTPSession session)
handles MAIL command |
void |
service(org.apache.avalon.framework.service.ServiceManager serviceMan)
|
Methods inherited from class org.apache.avalon.framework.logger.AbstractLogEnabled |
enableLogging, getLogger, setupLogger, setupLogger, setupLogger |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MailCmdHandler
public MailCmdHandler()
configure
public void configure(org.apache.avalon.framework.configuration.Configuration handlerConfiguration)
throws org.apache.avalon.framework.configuration.ConfigurationException
- Specified by:
configure
in interface org.apache.avalon.framework.configuration.Configurable
- Throws:
org.apache.avalon.framework.configuration.ConfigurationException
- See Also:
Configurable.configure(Configuration)
service
public void service(org.apache.avalon.framework.service.ServiceManager serviceMan)
throws org.apache.avalon.framework.service.ServiceException
- Specified by:
service
in interface org.apache.avalon.framework.service.Serviceable
- Throws:
org.apache.avalon.framework.service.ServiceException
- See Also:
Serviceable.service(ServiceManager)
onCommand
public void onCommand(SMTPSession session)
- handles MAIL command
- Specified by:
onCommand
in interface CommandHandler
- See Also:
CommandHandler.onCommand(SMTPSession)
"Copyright © 1999-2006 Apache Jakarta Project. All Rights Reserved."