org.apache.james.transport
Interface MailetLoader
- All Known Implementing Classes:
- JamesMailetLoader
public interface MailetLoader
Field Summary |
static java.lang.String |
ROLE
The component role used by components implementing this service |
Method Summary |
org.apache.mailet.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. |
ROLE
static final java.lang.String ROLE
- The component role used by components implementing this service
- See Also:
- Constant Field Values
getMailet
org.apache.mailet.Mailet getMailet(java.lang.String mailetName,
org.apache.avalon.framework.configuration.Configuration configuration)
throws javax.mail.MessagingException
- Get a new Mailet with the specified name acting
in the specified context.
- Parameters:
mailetName
- the name of the mailet to be loadedconfiguration
- the Configuration to be passed to the new
mailet
- Throws:
javax.mail.MessagingException
- if an error occurs
Copyright ? 2002-2009 The Apache Software Foundation. All Rights Reserved.