|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.apache.mailet.GenericMailet | +--org.apache.james.transport.mailets.ToRepository
Stores incoming Mail in the specified Repository. If the "passThrough" in confs is true the mail will be returned untouched in the pipe. If false will be destroyed.
Constructor Summary | |
ToRepository()
|
Method Summary | |
java.lang.String |
getMailetInfo()
Returns information about the mailet, such as author, version, and copyright. |
void |
init()
A convenience method which can be overridden so that there's no need to call super.init(config). |
void |
service(Mail genericmail)
Called by the mailet container to allow the mailet to process a message. |
Methods inherited from class org.apache.mailet.GenericMailet |
destroy, getInitParameter, getInitParameterNames, getMailetConfig, getMailetContext, getMailetName, init, log, log |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public ToRepository()
Method Detail |
public void init()
GenericMailet
init
in class GenericMailet
org.apache.mailet.GenericMailet
javax.mail.MessagingException
- if an exception occurs that interrupts the mailet's normal operationpublic void service(Mail genericmail)
GenericMailet
service
in class GenericMailet
org.apache.mailet.GenericMailet
mail
- - the Mail object that contains the MimeMessage and
routing informationjavax.mail.MessagingException
- - if an exception occurs that interferes with the mailet's normal operation
occurredpublic java.lang.String getMailetInfo()
GenericMailet
getMailetInfo
in class GenericMailet
org.apache.mailet.GenericMailet
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |