|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface EventNotificationListener
Classes implementing the EventNotificationListener interface are used by
applications which want to be notified of events fired by the Java Card
runtime environment or by other applications through the EventRegistry
.
Event-consuming applications interested in a particular event must register
EventListener
objects in the event registry for the URI of
that event. When the event is fired, the notify
method of all
registered event listeners is invoked by the event registry on behalf of the
application which fired the event. The Event
object is passed
as parameter to the notify
method.
The same event listener object may be registered for multiple event URIs
which may then get concurrently notified. In such as a case, the
notify
method of the event listener must properly account for
thread safety.
Event
,
EventRegistry
Method Summary | |
---|---|
void |
notify(SharedEvent e)
Invoked by the event registry to notify this listener of an event. |
Method Detail |
---|
void notify(SharedEvent e)
e
- the event notified.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |