You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "David Jencks (JIRA)" <ji...@apache.org> on 2013/05/19 08:17:16 UTC

[jira] [Created] (FELIX-4070) [DS] Reduce or eliminate use of States in command pattern

David Jencks created FELIX-4070:
-----------------------------------

             Summary: [DS] Reduce or eliminate use of States in command pattern
                 Key: FELIX-4070
                 URL: https://issues.apache.org/jira/browse/FELIX-4070
             Project: Felix
          Issue Type: Bug
          Components: Declarative Services (SCR)
    Affects Versions: scr-1.8.0
            Reporter: David Jencks
            Assignee: David Jencks
             Fix For: scr-1.8.0


While it initially seems like a good idea, the idea of the state using the command pattern doesn't work very well as the states don't actually exist.  For instance a component can be disabled but active after you call disable but before the asynchronous deactivate happens.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira