EventNotificationListener (Java Card API, Connected Edition)
Date: 2009-12-11

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## javacardx.facilities
Interface EventNotificationListener

All Superinterfaces:
  EventListener

    public interface EventNotificationListener

extends EventListener

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.

Since:
  Java Card 3.0
See Also:
  `Event`, `EventRegistry`

Method Summary
`void` | `notify(SharedEvent e)` Invoked by the event registry to notify this listener of an event.

Method Detail

### notify

    void notify(SharedEvent e)

  Invoked by the event registry to notify this listener of an event.

  Parameters:
    `e` - the event notified.

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright (c) 2009 Sun Microsystems, Inc. All rights reserved.