|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.avalon.framework.logger.AbstractLogEnabled org.apache.james.transport.Loader org.apache.james.transport.JamesMailetLoader
public class JamesMailetLoader
Loads Mailets for use inside James.
Field Summary |
---|
Fields inherited from class org.apache.james.transport.Loader |
---|
baseDirectory, MAILET_PACKAGE, mailetContext, MATCHER_PACKAGE, packages |
Fields inherited from interface org.apache.james.services.MailetLoader |
---|
ROLE |
Constructor Summary | |
---|---|
JamesMailetLoader()
|
Method Summary | |
---|---|
void |
configure(org.apache.avalon.framework.configuration.Configuration conf)
|
Mailet |
getMailet(java.lang.String mailetName,
org.apache.avalon.framework.configuration.Configuration configuration)
Get a new Mailet with the specified name acting in the specified context. |
Methods inherited from class org.apache.james.transport.Loader |
---|
contextualize, getPackages, initialize, service |
Methods inherited from class org.apache.avalon.framework.logger.AbstractLogEnabled |
---|
enableLogging, getLogger, setupLogger, setupLogger, setupLogger |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public JamesMailetLoader()
Method Detail |
---|
public void configure(org.apache.avalon.framework.configuration.Configuration conf) throws org.apache.avalon.framework.configuration.ConfigurationException
configure
in interface org.apache.avalon.framework.configuration.Configurable
configure
in class Loader
org.apache.avalon.framework.configuration.ConfigurationException
Configurable.configure(Configuration)
public Mailet getMailet(java.lang.String mailetName, org.apache.avalon.framework.configuration.Configuration configuration) throws javax.mail.MessagingException
MailetLoader
getMailet
in interface MailetLoader
javax.mail.MessagingException
- if an error occursMailetLoader.getMailet(java.lang.String, org.apache.avalon.framework.configuration.Configuration)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |