资 源 简 介
An easy to use eventing library for Java
Unlike programming languages such as C#.Net, Java has no intrinsic way to handle events. There exists many approaches to overcome this, such as using the Observer/Observable pattern, using thread safe queues and blocking queues, using the AWT-API as well as other approaches. In the JavaEventing library, many useful mechanisms are bundled toghether in an easy-to-use library contained in a single Jar-file.
In javaEventing you can define your own events, trigger events, and execute code when events are triggered. Choose whether to supply a custom designed condition to go with your event. Choose between blocking calls that waits for an event, or asynchronous handling that execute code in separate threads when triggered. Or use a helper class that lets you check in your own good time whether an event has been triggered.
With the MultiEventWatcher , you can choose to be notified when one of several events have been trigg