[dna-issues] [JBoss JIRA] Commented: (DNA-548) The Session That Graph Changes Originate From Should Be Available To The NetChangeObserver

Randall Hauch (JIRA) jira-events at lists.jboss.org
Mon Nov 30 14:41:30 EST 2009


    [ https://jira.jboss.org/jira/browse/DNA-548?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12497302#action_12497302 ] 

Randall Hauch commented on DNA-548:
-----------------------------------

Changed JcrWorkspace, JcrSession, and WorkspaceLockManager so that they use ExecutionContext more consistently. JcrWorkspace and JcrSession both share the exact same ExecutionContext instance, while WorkspaceLockManager was changed to expect the JcrSession in most of its methods so the lock manager can use the JcrSession's ExecutionContext in its operations.  (The latter also has the advantage of recording which sessions were performing the lock operations, since now the session's context is used for all lock operations.)

> 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
>            Assignee: Randall Hauch
>            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

        


More information about the dna-issues mailing list