org.apache.james.transport
Class MailetLoader
java.lang.Object
|
+--org.apache.james.transport.MailetLoader
- All Implemented Interfaces:
- Component, Configurable
- public class MailetLoader
- extends Object
- implements Component, Configurable
Loads Mailets for use inside James.
- Author:
- Serge Knystautas , Federico Barbieri
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MailetLoader
public MailetLoader()
configure
public void configure(Configuration conf)
throws ConfigurationException
- Specified by:
configure
in interface Configurable
ConfigurationException
- See Also:
Configurable.configure(Configuration)
getMailet
public Mailet getMailet(String mailetName,
MailetContext context,
Configuration configuration)
throws MessagingException
- Get a new Mailet with the specified name acting
in the specified context.
- Parameters:
context
- the MailetContext to be passed to the new
mailet
- Throws:
MessagingException
- if an error occurs
"Copyright © 1999-2002 Apache Jakarta Project. All Rights Reserved."