| IListServCommand is the interface that all pluggable list serv commands must implement.
The lifecycle of a IListServCommand will be controlled by the
ICommandListservManager
Requests sent to the CommandListservManager take the form of:
<listName>-<commandName>@domain
and if the commandName matches the command's name, then the
IListServCommand.onCommand will be invoked.
A typical command is configured:
<command name="subscribe" class="Subscribe"/>
Typically, IListServCommands will format some text to reply with based off of resource files
and calls to
org.apache.james.util.XMLResources.getString This allows you to customize the messages sent by these commands by editing text files and not editing the javacode.
version: CVS $Revision: 494012 $ $Date: 2007-01-08 11:23:58 +0100 (Mo, 08 Jan 2007) $ since: 2.2.0 See Also: ICommandListservManager |