org.apache.jsieve
Interface CommandManager

All Known Implementing Classes:
CommandManagerImpl

public interface CommandManager

Maps Command names to configured Command implementation classes.


Method Summary
 ExecutableCommand getCommand(java.lang.String name)
           Method newInstance answers an instance of the class to which a Command name is mapped.
 boolean isCommandSupported(java.lang.String name)
          Method isSupported answers a boolean indicating if a Command name is configured.
 

Method Detail

getCommand

ExecutableCommand getCommand(java.lang.String name)
                             throws LookupException

Method newInstance answers an instance of the class to which a Command name is mapped.

Parameters:
name - - The name of the Command
Returns:
Class - The class of the Command
Throws:
LookupException

isCommandSupported

boolean isCommandSupported(java.lang.String name)
Method isSupported answers a boolean indicating if a Command name is configured.

Parameters:
name - - The Command name
Returns:
boolean - True if the Command name is configured.


Copyright © 2008-2009 The Apache Software Foundation. All Rights Reserved.