|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.mailet.base.GenericMailet org.apache.james.transport.mailets.AbstractVirtualUserTableMailet org.apache.james.transport.mailets.VirtualUserTable
public class VirtualUserTable
Mailet which should get used when using VirtualUserTable-Store to implementations
for mappings of forwards and aliases.
If no VirtualUsertable-Store name is given the default of DefaultVirtualUserTable
will get used.
eg.
Constructor Summary | |
---|---|
VirtualUserTable()
|
Method Summary | |
---|---|
java.lang.String |
getMailetInfo()
|
VirtualUserTable |
getVut()
Gets the virtual user table. |
VirtualUserTableStore |
getVutStore()
Gets the virtual user table store. |
void |
init()
|
java.util.Collection |
processMail(org.apache.mailet.MailAddress sender,
org.apache.mailet.MailAddress recipient,
javax.mail.internet.MimeMessage message)
Process the mail |
void |
setVut(VirtualUserTable vut)
Sets the virtual user table. |
void |
setVutStore(VirtualUserTableStore vutStore)
Sets the virtual table store. |
Methods inherited from class org.apache.james.transport.mailets.AbstractVirtualUserTableMailet |
---|
handleMappings, service |
Methods inherited from class org.apache.mailet.base.GenericMailet |
---|
arrayToString, checkInitParameters, destroy, getInitParameter, getInitParameter, 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 VirtualUserTable()
Method Detail |
---|
public final VirtualUserTable getVut()
public final void setVut(VirtualUserTable vut)
vut
- the vut to setpublic final VirtualUserTableStore getVutStore()
public final void setVutStore(VirtualUserTableStore vutStore)
vutStore
- the vutStore to set, possibly nullpublic void init() throws javax.mail.MessagingException
init
in class org.apache.mailet.base.GenericMailet
javax.mail.MessagingException
GenericMailet.init()
public java.util.Collection processMail(org.apache.mailet.MailAddress sender, org.apache.mailet.MailAddress recipient, javax.mail.internet.MimeMessage message) throws javax.mail.MessagingException
AbstractVirtualUserTableMailet
processMail
in class AbstractVirtualUserTableMailet
sender
- the sender of the mailrecipient
- the recipient of the mailmessage
- the mail message
javax.mail.MessagingException
org.apache.james.transport.mailets.AbstractVirtualUserTable#processMail(org.apache.mailet.MailAddress, org.apache.mailet.MailAddress, javax.mail.internet.MimeMessage)
public java.lang.String getMailetInfo()
getMailetInfo
in interface org.apache.mailet.Mailet
getMailetInfo
in class org.apache.mailet.base.GenericMailet
GenericMailet.getMailetInfo()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |