org.apache.james.services
Interface MatcherLoader

All Known Implementing Classes:
JamesMatcherLoader

public interface MatcherLoader


Field Summary
static java.lang.String ROLE
          The component role used by components implementing this service
 
Method Summary
 Matcher getMatcher(java.lang.String matchName)
          Get a new Matcher 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

getMatcher

Matcher getMatcher(java.lang.String matchName)
                   throws javax.mail.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:
javax.mail.MessagingException - if an error occurs


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