© 2001 BEA Systems, Inc.

com.bea.commerce.platform.events
Interface EventService


public interface EventService

Event Service remote interface. Pass events to this service to have them handled by registered listeners. Listeners register themselves for this service by the property eventService.listeners set in weblogiccommerce.properties. The property should contain a comma-separated list of classes that implement the EventListener interface. Those classes express interest in certain Event types, and when an event of that is dispatched via this service, it is forwarded to the listener.

See Also:
Event, EventListener, EventServiceHome

Method Summary
 void dispatchEvent(Event event)
          Dispatch an event to the EventService.
 

Method Detail

dispatchEvent

public void dispatchEvent(Event event)
                   throws java.rmi.RemoteException
Dispatch an event to the EventService. The Event will be handled by any EventListeners that are registered to handle events of its type.
Parameters:
theEvent - The Event oject containing relevant data.
Throws:
java.rmi.RemoteException - if remote errors occur (from the EJB Container)

© 2001 BEA Systems, Inc.

Copyright © 2001 BEA Systems, Inc. All Rights Reserved