org.objectweb.transaction.api.event
Interface EventListenerFeature

All Superinterfaces:
Feature

public interface EventListenerFeature
extends Feature

Feature providing the list of EventNofiticationFeature registered elements.

Version:
0.1
Author:
Romain Rouvoy
ADL:
name="EVENT_LISTENER_FEATURE" value="event-listener-feature"

Field Summary
static java.lang.String EVENT_LISTENER_FEATURE
          ADL Identifier.
 
Fields inherited from interface org.objectweb.transaction.api.Feature
FEATURE
 
Method Summary
 EventNotificationFeature[] getListeners()
          Provides the list of all EventNotificationFeature registered elements independently of the suscribed event.
 EventNotificationFeature[] getListeners(Event evt)
          Provides the list of EventNotificationFeature registered for the specified Event type.
 

Field Detail

EVENT_LISTENER_FEATURE

public static final java.lang.String EVENT_LISTENER_FEATURE
ADL Identifier.

See Also:
Constant Field Values
Method Detail

getListeners

public EventNotificationFeature[] getListeners()
Provides the list of all EventNotificationFeature registered elements independently of the suscribed event.

Returns:
the list of all EventNotificationFeature

getListeners

public EventNotificationFeature[] getListeners(Event evt)
Provides the list of EventNotificationFeature registered for the specified Event type.

Parameters:
evt - the type of Event
Returns:
the list of EventNotificationFeature corresponding to the Event type.