Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.eclipse.osgi.framework.eventmgr: Javadoc index of package org.eclipse.osgi.framework.eventmgr.


Package Samples:

org.eclipse.osgi.framework.eventmgr

Classes:

EventManager: This class is the central class for the Event Manager. Each program that wishes to use the Event Manager should construct an EventManager object and use that object to construct ListenerQueue for dispatching events. EventListeners objects should be used to manage listener lists. This example uses the ficticous SomeEvent class and shows how to use this package to deliver a SomeEvent to a set of SomeEventListeners. // Create an EventManager with a name for an asynchronous event dispatch thread EventManager eventManager = new EventManager("SomeEvent Async Event Dispatcher Thread"); // Create an EventListeners ...
ListenerQueue: The ListenerQueue is used to snapshot the set of listeners at the time the event is fired. The snapshot list is then used to dispatch events to those listeners. A ListenerQueue object is associated with a specific EventManager object. ListenerQueue objects constructed with the same EventManager object will get in-order delivery of events using asynchronous delivery. No delivery order is guaranteed for synchronous delivery to avoid any potential deadly embraces. ListenerQueue objects are created as necesssary to build a set of listeners that should receive a specific event or events. Once the set ...
ListElement: ListElement is a package private class. This class represents a primary object (e.g. listener) and its companion object. ListElements are stored in EventListeners. ListElements are immutable.
EventDispatcher: The EventDispatcher interface contains the method that is called by the Event Manager to complete the event delivery to the event listener.
EventListeners: This class manages a list of listeners. Listeners may be added or removed as necessary.
EventThread: This package private class is used for asynchronously dispatching events.

Home | Contact Us | Privacy Policy | Terms of Service