[dna-issues] [JBoss JIRA] Commented: (DNA-252) Complete support for events to the connector framework
Randall Hauch (JIRA)
jira-events at lists.jboss.org
Tue May 19 13:41:05 EDT 2009
[ https://jira.jboss.org/jira/browse/DNA-252?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12468270#action_12468270 ]
Randall Hauch commented on DNA-252:
-----------------------------------
Added initial version/proposal for events/observation in the JBoss DNA graph API into the 'org.jboss.dna.graph.observe' package. The framework consists of a ChangeObserver abstract class (this is the "listener"); an Observable interface with which observers can be registered and unregistered; a ChangeObservers class that provides a default Observable implementation ready for use in other Observable implementations; a ChangeFeed interface used to poll for changes during a specified timeline; a Changes class containing the individual changes in an atomic operation and that is passed to the observers.
This design reuses the Request classes as the events, allowing for more advanced observation (leverage the additional information in change requests, such as in UpdatePropertiesRequest) as well as replaying events.
This commit adds the framework (including several thread-safe implementation classes), but does not make use of the framework in the connector API or graph API. Those changes will be coming subsequently.
> Complete support for events to the connector framework
> ------------------------------------------------------
>
> Key: DNA-252
> URL: https://jira.jboss.org/jira/browse/DNA-252
> Project: DNA
> Issue Type: Task
> Components: Connectors
> Affects Versions: 0.3
> Reporter: Randall Hauch
> Assignee: Randall Hauch
> Priority: Blocker
> Fix For: 0.5
>
>
> The connector's support for events is incomplete. There is the ability to add listeners to connections, but there are no methods on the listeners and no definition of what an event is. This needs to be compatible with the Requests and JCR's event listeners.
--
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