| org.apache.james.transport.mailets.ICommandListservManager
All known Subclasses: org.apache.james.transport.mailets.CommandListservManager,
ICommandListservManager | public interface ICommandListservManager extends Mailet(Code) | | ICommandListservManager is the interface that describes the functionality of any
command based list serv managers.
In order to obtain a reference to one, you can call:
ICommandListservManager mgr = (ICommandListservManager)mailetContext.getAttribute(ICommandListservManager.ID + listName);
version: CVS $Revision: 494012 $ $Date: 2007-01-08 11:23:58 +0100 (Mo, 08 Jan 2007) $ since: 2.2.0 |
Field Summary | |
final public static String | ID |
getCommandTarget | public IListServCommand getCommandTarget(MailAddress mailAddress)(Code) | | Based on the to address get a valid or command or null
Parameters: mailAddress - IListServCommand or null |
getListDomain | public String getListDomain()(Code) | | Get the domain of the list
a string like localhost |
getListName | public String getListName(boolean displayFormat)(Code) | | Get the name of this list
Parameters: displayFormat - is whether you want a display version of this or not the official display name of this list |
getListOwner | public String getListOwner()(Code) | | Gets the owner of this list
this is an address like listOwner@localhost |
getResourcesFile | public String getResourcesFile()(Code) | | the configuration file for the xml resources |
getUsersRepository | public UsersRepository getUsersRepository()(Code) | | Get the current user repository for this list serv
an instance of UsersRepository that is used for the member list of the list serv |
initXMLResources | public XMLResources[] initXMLResources(String[] names) throws ConfigurationException(Code) | | Initializes an array of resources
Parameters: names - such as 'header, footer' etc... an initialized array of XMLResources throws: org.apache.avalon.framework.configuration.ConfigurationException - |
onError | public void onError(Mail mail, String subject, String errorMessage) throws MessagingException(Code) | | An error occurred, send some sort of message to the sender
Parameters: subject - the subject of the message to send Parameters: mail - Parameters: errorMessage - |
|
|