org.objectweb.transaction.api.event
Interface EventEnlistmentFeature

All Superinterfaces:
Feature

public interface EventEnlistmentFeature
extends Feature

Feature allowing the enlistment of EventNotificationFeature interfaces.

Version:
0.1
Author:
Romain Rouvoy
ADL:
name="EVENT_NOTIFICATION_FEATURE" value="event-notification-feature"

Field Summary
static java.lang.String EVENT_ENLISTMENT_FEATURE
          ADL Identifier
 
Fields inherited from interface org.objectweb.transaction.api.Feature
FEATURE
 
Method Summary
 void delist(Event evt, EventNotificationFeature hdl)
          Delist an EventNotificationFeature interface as handler for the specified Event.
 void enlist(Event evt, EventNotificationFeature hdl)
          Enlist an EventNotificationFeature interface as handler for the specified Event.
 

Field Detail

EVENT_ENLISTMENT_FEATURE

public static final java.lang.String EVENT_ENLISTMENT_FEATURE
ADL Identifier

See Also:
Constant Field Values
Method Detail

enlist

public void enlist(Event evt,
                   EventNotificationFeature hdl)
Enlist an EventNotificationFeature interface as handler for the specified Event.

Parameters:
evt - the event to be notified.
hdl - the handler to enlist.

delist

public void delist(Event evt,
                   EventNotificationFeature hdl)
Delist an EventNotificationFeature interface as handler for the specified Event.

Parameters:
evt - the event to forget.
hdl - the handler to delist.