[dna-issues] [JBoss JIRA] Resolved: (DNA-171) Create basic command executor
Randall Hauch (JIRA)
jira-events at lists.jboss.org
Thu Jul 3 14:25:31 EDT 2008
[ http://jira.jboss.com/jira/browse/DNA-171?page=all ]
Randall Hauch resolved DNA-171.
-------------------------------
Resolution: Done
Created CommandExecutor interface and an AbstractCommandExecutor abstract (but complete) implementation. The unit tests verify that the 'execute(GraphCommand)' method properly delegates to the other more specific 'execute(...)' methods, and that the 'execute(CompositeCommand)' method properly iterates over the nested commands.
> Create basic command executor
> -----------------------------
>
> Key: DNA-171
> URL: http://jira.jboss.com/jira/browse/DNA-171
> Project: DNA
> Issue Type: Sub-task
> Components: Federation, Connectors
> Reporter: Randall Hauch
> Assigned To: Randall Hauch
> Fix For: 0.2
>
>
> The command framework in the SPI are created and sent to the RepositoryConnection.execute(...) method. We should have a mini framework for executing these commands, and for centralizing the code that is frequently the same when executing any commands (e.g., processing CompositeCommand instances is usually always done the same way). Additionally, this framework should help with migration of connectors so that they continue to work with newer versions of DNA containing new commands. This could be done by extending an abstract class that has meaningful implementations for some commands (e.g., CompositeCommand) while no-op implementations for all other commands. Connectors that extend this would inherit the no-op methods for any newly added command.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the dna-issues
mailing list