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/10/16 01:41:42 UTC
[jira] [Resolved] (FELIX-4070) [DS] Reduce or eliminate use of
States in command pattern
[ https://issues.apache.org/jira/browse/FELIX-4070?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
David Jencks resolved FELIX-4070.
---------------------------------
Resolution: Fixed
> [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 was sent by Atlassian JIRA
(v6.1#6144)