org.dspace.services
Interface EventService


public interface EventService

Allows the creation of system events and registration of event listeners for notification of system events. The service can be configured to log events or ignore certain events.

Author:
Aaron Zeckoski (azeckoski @ gmail.com)

Method Summary
 void fireEvent(Event event)
          Fires an event immediately (does not add it to the queue).
 void queueEvent(Event event)
          Queues up an event to be fired at the end of a successful request/transaction.
 void registerEventListener(EventListener listener)
          Register an event listener which will be notified when events occur.
 

Method Detail

fireEvent

void fireEvent(Event event)
Fires an event immediately (does not add it to the queue).

Parameters:
event - contains the data related to this event

queueEvent

void queueEvent(Event event)
Queues up an event to be fired at the end of a successful request/transaction.

Parameters:
event - contains the data related to this event

registerEventListener

void registerEventListener(EventListener listener)
Register an event listener which will be notified when events occur.

Parameters:
listener - an implementation of the event listener


Copyright © Monday, September 1, 2008-2010 The DSpace Foundation. All Rights Reserved.