]
Randall Hauch resolved DNA-588.
-------------------------------
Fix Version/s: 0.7
(was: 1.0)
Resolution: Done
Assignee: Randall Hauch
This was changed as part of the fix for DNA-582.
The connectors should release all resources before notifying observer
of events
-------------------------------------------------------------------------------
Key: DNA-588
URL:
https://jira.jboss.org/jira/browse/DNA-588
Project: DNA
Issue Type: Bug
Components: Connectors, Graph
Affects Versions: 0.7
Reporter: Randall Hauch
Assignee: Randall Hauch
Fix For: 0.7
Right now, most connectors are firing off the changes to the Observer before the
resources acquired by the connector are released, meaning that the Observer cannot use the
source within the same thread. This prevents writing Observers that operate fully before
the 'execute(...)' method returns, and requires that any Observer that might need
access to the source needs to do its work asynchronously.
By notifying the Observer _after_ the resources are released but before
'execute(...)' returns, Observers could call back to the source (really through a
different connection or at least through a different 'execute(...)' call) to
access content. This means that Observers could be written to work synchronously while
still access the (committed) content.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: