james-server-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robert Burrell Donkin (JIRA)" <server-...@james.apache.org>
Subject [jira] Closed: (JSIEVE-25) Refactor CommandManager
Date Tue, 02 Dec 2008 22:10:44 GMT

     [ https://issues.apache.org/jira/browse/JSIEVE-25?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel

Robert Burrell Donkin closed JSIEVE-25.

    Resolution: Fixed

CommandManager is now an interface. ConfigurationManagerImpl is a POJO and the map is now
injected through the constructor.

> Refactor CommandManager 
> ------------------------
>                 Key: JSIEVE-25
>                 URL: https://issues.apache.org/jira/browse/JSIEVE-25
>             Project: JAMES jSieve
>          Issue Type: Sub-task
>            Reporter: Robert Burrell Donkin
> CommandManager maps command executions to command names. It is a concrete class with
protected methods to allow subclassing. CommandManager is a singleton. CommandManager allows
alternative classloading to be used to create command execution implementations.
> Used by:
>  * Command. Command models a command. static Command.lookup delegates to CommandManager
and is used by:
>    * Command internally 
>    * SieveValidationVisitor to ensure that command executable is available
>  * Require to test that a command executable is available for the command 
> Uses ConfigurationManager singleton to provide map of classes to class names.

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org

View raw message