com.bea.p13n.events
Interface EventService

All Superinterfaces
javax.ejb.EJBObject, Remote

public interface EventService
extends javax.ejb.EJBObject

Event Service remote interface. Pass events to this service to have them handled by registered listeners. Listeners register themselves for this service via the WebLogic management console; classes that implement the EventListener interface may add themselves as listeners using the Configuration tab for the Event Service. 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
This interface is intended to be implemented only by Oracle Weblogic Portal. Oracle Systems reserves the right to add abstract methods to this interface without notice. Implementations of this interface by other parties must not be expected to compile without change in future versions of Oracle Weblogic Portal.

Method Summary
 void dispatchEvent(Event event)
          Dispatch an event to the EventService.
 
Methods inherited from interface javax.ejb.EJBObject
getEJBHome, getHandle, getPrimaryKey, isIdentical, remove
 

Method Detail

dispatchEvent

void dispatchEvent(Event event)
                   throws 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
event - The Event oject containing relevant data.
Throws
RemoteException - if remote errors occur (from the EJB Container)


Copyright © 2000, 2008, Oracle and/or its affiliates. All rights reserved.
Oracle is a registered trademark of Oracle Corporation and/or its affiliates.
Other names may be trademarks of their respective owners.