[
https://jira.jboss.org/jira/browse/DNA-276?page=com.atlassian.jira.plugin...
]
Randall Hauch resolved DNA-276.
-------------------------------
Resolution: Done
Remove the ExecutionContextFactory interface, and renamed the ExecutionContext.create(...)
methods to 'with' (to mirror the other methods of creating a new context by
changing an aspect).
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
Assignee: Randall Hauch
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