Implement a listener with replay events
---------------------------------------

                 Key: PAXWEB-228
                 URL: http://issues.ops4j.org/browse/PAXWEB-228
             Project: Pax Web
          Issue Type: New Feature
            Reporter: Guillaume Nodet
            Assignee: Alin Dreghiciu


In order to be able to easily find the state of the web apps, we need a 
listener and a replay mechanism similar to the blueprint one.

The way we've solved that is that when a listener is registered in the 
registry, it will be delivered a set of 'replay' events i.e. it will receive 
the latest event for each blueprint bundle with a property 'replay' set to true 
so that the listener knows it's not a 'current' event.

See the javadoc of the BlueprintEvent and BlueprintListener:
http://www.osgi.org/javadoc/r4v42/org/osgi/service/blueprint/container/BlueprintEvent.html


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://issues.ops4j.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

_______________________________________________
general mailing list
[email protected]
http://lists.ops4j.org/mailman/listinfo/general

Reply via email to