|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.james.jcr.JCRStoreMailet
public class JCRStoreMailet
Mailet that stores messages to a JCR content repository.
| Constructor Summary | |
|---|---|
JCRStoreMailet()
|
|
| Method Summary | |
|---|---|
void |
destroy()
Closes this mailet by releasing the JCR connection. |
org.apache.mailet.MailetConfig |
getMailetConfig()
Returns the mailet configuration. |
java.lang.String |
getMailetInfo()
Returns information about this mailet. |
void |
init(org.apache.mailet.MailetConfig config)
Initializes this mailet by connecting to the configured JCR repository. |
void |
service(org.apache.mailet.Mail mail)
Stores the given mail message to the content repository. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public JCRStoreMailet()
| Method Detail |
|---|
public java.lang.String getMailetInfo()
getMailetInfo in interface org.apache.mailet.Mailetpublic org.apache.mailet.MailetConfig getMailetConfig()
getMailetConfig in interface org.apache.mailet.Mailet
public void init(org.apache.mailet.MailetConfig config)
throws javax.mail.MessagingException
init in interface org.apache.mailet.Mailetconfig - mailet configuration
javax.mail.MessagingException - if the JCR repository can not be accessedpublic void destroy()
destroy in interface org.apache.mailet.Mailet
public void service(org.apache.mailet.Mail mail)
throws javax.mail.MessagingException
service in interface org.apache.mailet.Mailetmail - mail message
javax.mail.MessagingException - if the message could not be saved
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||