[dna-issues] [JBoss JIRA] Created: (DNA-276) ExecutionContext story should be simplified by eliminating ExecutionContextFactory

Johnny Verhaeg (JIRA) jira-events at lists.jboss.org
Fri Jan 16 13:36:03 EST 2009


ExecutionContext story should be simplified by eliminating ExecutionContextFactory
----------------------------------------------------------------------------------

                 Key: DNA-276
                 URL: https://jira.jboss.org/jira/browse/DNA-276
             Project: DNA
          Issue Type: Feature Request
          Components: Graph
    Affects Versions: 0.3
            Reporter: Johnny Verhaeg
             Fix For: 0.4


The relationship between the concrete ExecutionContext class and its implemented ExecutionContextFactory interface is a bit confusing and non-intuitive.  In particular, it's not really clear without understanding the implementation of ExecutionContext when to use the ExecutionContext constructor vs. the factory's create methods.  The factory should be eliminated, and the relevant "create" methods in the context should be changed to "with" methods, mimicking the other existing, more readable pattern used by ExecutionContext to, for instance, create a context with a different namespace registry.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the dna-issues mailing list