[
https://jira.jboss.org/jira/browse/DNA-548?page=com.atlassian.jira.plugin...
]
Randall Hauch commented on DNA-548:
-----------------------------------
The ExecutionContext serves as the universal mechanism by which the DNA code knows the
context in which operations are performed, and is available to the connectors that process
the requests, the session that creates the requests, and the Observation system that
post-processes the (complete) requests. The JcrRepository.login(...) method always
creates a new ExecutionContext via the ExecutionContext.with(...), which means that every
JcrSession implementation has a unique ExecutionContext. Therefore, if we add a unique
identifier to the ExecutionContext, that identifier would correspond to the Session
instance.
The Session That Graph Changes Originate From Should Be Available To
The NetChangeObserver
------------------------------------------------------------------------------------------
Key: DNA-548
URL:
https://jira.jboss.org/jira/browse/DNA-548
Project: DNA
Issue Type: Task
Components: JCR
Affects Versions: 0.6
Reporter: Dan Florian
Priority: Blocker
Fix For: 0.7
There is no way for the ObservationManager to obtain the session from the
NetChanges/Changes/ChangeRequest objects. The session identifier is needed to implement
the event notification of the ObservationManager. Specifically, listeners are registered
with a "noLocal" flag indicating if they want or don't want to receive
events from the session that they are registered in.
--
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