|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.mailet.GenericMailet org.apache.james.transport.mailets.GenericListservManager
public abstract class GenericListservManager
An abstract implementation of a listserv manager. This mailet reads the address to find the command.
Constructor Summary | |
---|---|
GenericListservManager()
|
Method Summary | |
---|---|
abstract boolean |
addAddress(MailAddress address)
Adds an address to the listserv. |
abstract boolean |
existsAddress(MailAddress address)
Indicates whether an address already exists on the listserv. |
abstract boolean |
removeAddress(MailAddress address)
Removes an address from the listserv. |
void |
service(Mail mail)
Processes the message. |
Methods inherited from class org.apache.mailet.GenericMailet |
---|
destroy, getInitParameter, getInitParameter, getInitParameterNames, getMailetConfig, getMailetContext, getMailetInfo, getMailetName, init, init, log, log |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public GenericListservManager()
Method Detail |
---|
public abstract boolean addAddress(MailAddress address)
public abstract boolean removeAddress(MailAddress address)
public abstract boolean existsAddress(MailAddress address)
public final void service(Mail mail) throws javax.mail.MessagingException
service
in interface Mailet
service
in class GenericMailet
mail
- - the Mail object that contains the MimeMessage and
routing information
javax.mail.MessagingException
- - if an exception occurs that interferes with the mailet's normal operation
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |