org.apache.james.transport.mailets.listservcommands
Class Owner

java.lang.Object
  extended by org.apache.james.transport.mailets.listservcommands.BaseCommand
      extended by org.apache.james.transport.mailets.listservcommands.Owner
All Implemented Interfaces:
IListServCommand

public class Owner
extends BaseCommand

This command will send email to the current owner(s) of this mailing list

Since:
2.2.0
Version:
CVS $Revision: 494012 $ $Date: 2007-01-08 10:23:58 +0000 (Mon, 08 Jan 2007) $

Field Summary
protected  java.util.List m_listOwner
           
 
Fields inherited from class org.apache.james.transport.mailets.listservcommands.BaseCommand
commandListservManager, commandName, configuration, mailetContext
 
Constructor Summary
Owner()
           
 
Method Summary
 void init(ICommandListservManager commandListservManager, org.apache.avalon.framework.configuration.Configuration configuration)
          Perform any required initialization
 void onCommand(Mail mail)
          Process this command to your hearts content
 
Methods inherited from class org.apache.james.transport.mailets.listservcommands.BaseCommand
generateMail, getCommandListservManager, getCommandName, getConfiguration, getMailetContext, getStandardProperties, getUsersRepository, initXMLResources, log, log, sendStandardReply
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

m_listOwner

protected java.util.List m_listOwner
Constructor Detail

Owner

public Owner()
Method Detail

init

public void init(ICommandListservManager commandListservManager,
                 org.apache.avalon.framework.configuration.Configuration configuration)
          throws org.apache.avalon.framework.configuration.ConfigurationException
Perform any required initialization

Specified by:
init in interface IListServCommand
Overrides:
init in class BaseCommand
Parameters:
configuration -
Throws:
org.apache.avalon.framework.configuration.ConfigurationException

onCommand

public void onCommand(Mail mail)
               throws javax.mail.MessagingException
Process this command to your hearts content

Parameters:
mail -
Throws:
javax.mail.MessagingException


Copyright ? 2002-2009 The Apache Software Foundation. All Rights Reserved.