org.apache.james.transport.matchers
Class CommandListservMatcher
java.lang.Object
   org.apache.mailet.base.GenericMatcher
org.apache.mailet.base.GenericMatcher
       org.apache.mailet.base.GenericRecipientMatcher
org.apache.mailet.base.GenericRecipientMatcher
           org.apache.james.transport.matchers.CommandListservMatcher
org.apache.james.transport.matchers.CommandListservMatcher
- All Implemented Interfaces: 
- Matcher, MatcherConfig
- public class CommandListservMatcher 
- extends GenericRecipientMatcher
CommandListservMatcher is the matcher that pairs with the org.apache.james.transport.mailets.CommandListservManager
 It checks to see if the request is intended for the ListservManager, but doesn't guarantee that it is a valid command.
 
 To configure, insert this into the config.xml inside of the root processor block.
 
 <mailet match="CommandListservMatcher=announce@localhost" class="CommandListservManager">
 ...
 </mailet>
 
- Since:
- 2.2.0
- Version:
- CVS $Revision: 713949 $ $Date: 2008-11-14 07:40:21 +0000 (Fri, 14 Nov 2008) $
- See Also:
- org.apache.james.transport.mailets.CommandListservManager
 
| Method Summary | 
|  void | init()
 | 
|  boolean | matchRecipient(MailAddress recipient)This doesn't perform an exact match, but checks to see if the request is at lesast
 intended to go to the list serv manager.
 | 
 
 
 
| Methods inherited from class java.lang.Object | 
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
CommandListservMatcher
public CommandListservMatcher()
init
public void init()
          throws javax.mail.MessagingException
- 
- Overrides:
- initin class- GenericMatcher
 
- 
- Throws:
- javax.mail.MessagingException
 
matchRecipient
public boolean matchRecipient(MailAddress recipient)
- This doesn't perform an exact match, but checks to see if the request is at lesast
 intended to go to the list serv manager.
 
- 
- Specified by:
- matchRecipientin class- GenericRecipientMatcher
 
- 
- Parameters:
- recipient-
- Returns:
- true if matches, false otherwise
 
Copyright © 2008-2009 The Apache Software Foundation. All Rights Reserved.