public class MatcherLoaderBeanFactory extends AbstractLoaderBeanFactory<org.apache.mailet.Matcher> implements MatcherLoader
ConfigurableListableBeanFactory of spring.
The Matchers are not registered in the factory after loading them!| Constructor and Description |
|---|
MatcherLoaderBeanFactory() |
| Modifier and Type | Method and Description |
|---|---|
org.apache.mailet.Matcher |
getMatcher(org.apache.mailet.MatcherConfig config)
Get a new
Matcher for the given MatcherConfig. |
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.Matcher getMatcher(org.apache.mailet.MatcherConfig config)
throws javax.mail.MessagingException
MatcherLoaderMatcher for the given MatcherConfig. The
returned Matcher needs to be fully initialized, so the returned
instance is "read-to-use"getMatcher in interface MatcherLoaderjavax.mail.MessagingException - if an error occursMatcherLoader.getMatcher(org.apache.mailet.MatcherConfig)protected String getStandardPackage()
AbstractLoaderBeanFactoryAbstractLoaderBeanFactory.load(String) does not contain a package namegetStandardPackage in class AbstractLoaderBeanFactory<org.apache.mailet.Matcher>Copyright © 2002-2012 The Apache Software Foundation. All Rights Reserved.