org.apache.james.services
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
 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.
 

Field Detail

ROLE

static final java.lang.String ROLE
The component role used by components implementing this service

See Also:
Constant Field Values
Method Detail

getMailet

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:
matchName - the name of the mailet to be loaded
context - the MailetContext to be passed to the new mailet
Throws:
javax.mail.MessagingException - if an error occurs


Copyright © 2002-2007 The Apache Software Foundation. All Rights Reserved.