org.apache.james.transport
Class MatchLoader

java.lang.Object
  |
  +--org.apache.james.transport.MatchLoader
All Implemented Interfaces:
Component, Configurable

public class MatchLoader
extends Object
implements Component, Configurable

Loads Matchers for use inside James.

Author:
Serge Knystautas , Federico Barbieri

Constructor Summary
MatchLoader()
           
 
Method Summary
 void configure(Configuration conf)
           
 Matcher getMatcher(String matchName, MailetContext context)
          Get a new Matcher with the specified name acting in the specified context.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MatchLoader

public MatchLoader()
Method Detail

configure

public void configure(Configuration conf)
               throws ConfigurationException
Specified by:
configure in interface Configurable
ConfigurationException
See Also:
Configurable.configure(Configuration)

getMatcher

public Matcher getMatcher(String matchName,
                          MailetContext context)
                   throws MessagingException
Get a new Matcher with the specified name acting in the specified context.

Parameters:
matchName - the name of the matcher to be loaded
context - the MailetContext to be passed to the new matcher
Throws:
MessagingException - if an error occurs


"Copyright © 1999-2002 Apache Jakarta Project. All Rights Reserved."