public class MailetLoaderBeanFactory extends AbstractLoaderBeanFactory<org.apache.mailet.Mailet> implements MailetLoader
ConfigurableListableBeanFactory of spring.
The Mailets are not registered in the factory after loading them!| Constructor and Description |
|---|
MailetLoaderBeanFactory() |
| Modifier and Type | Method and Description |
|---|---|
org.apache.mailet.Mailet |
getMailet(org.apache.mailet.MailetConfig config)
Get a new
Mailet instance for the given MailetConfig. |
protected String |
getStandardPackage()
Return the package name which will be used as suffix if the name provided
for
AbstractLoaderBeanFactory.load(String) does not contain a package name |
load, loadFailedgetBeanFactory, setBeanFactorypublic org.apache.mailet.Mailet getMailet(org.apache.mailet.MailetConfig config)
throws javax.mail.MessagingException
MailetLoaderMailet instance for the given MailetConfig. The
returned Mailet needs to be fully initialized, so the returned
instance is "read-to-use"getMailet in interface MailetLoaderjavax.mail.MessagingException - if an error occursMailetLoader.getMailet(org.apache.mailet.MailetConfig)protected String getStandardPackage()
AbstractLoaderBeanFactoryAbstractLoaderBeanFactory.load(String) does not contain a package namegetStandardPackage in class AbstractLoaderBeanFactory<org.apache.mailet.Mailet>Copyright © 2002-2012 The Apache Software Foundation. All Rights Reserved.