You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-dev@james.apache.org by "Robert Burrell Donkin (JIRA)" <se...@james.apache.org> on 2008/08/31 11:29:44 UTC

[jira] Created: (JSIEVE-25) Refactor CommandManager

Refactor CommandManager 
------------------------

                 Key: JSIEVE-25
                 URL: https://issues.apache.org/jira/browse/JSIEVE-25
             Project: 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


[jira] Closed: (JSIEVE-25) Refactor CommandManager

Posted by "Robert Burrell Donkin (JIRA)" <se...@james.apache.org>.
     [ 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