com.bea.wlpi.server.plugin
Interface EventHandler
- public interface EventHandler
- extends java.io.Serializable
Interface through which plugins can handle or transform incoming event data.
- Since:
- WebLogic Process Integrator 2.0
- Author:
- Copyright © 2000, 2001 BEA Systems, Inc. All Rights Reserved.
onEvent
public EventData[] onEvent(EventData eventData)
throws PluginException
- Handle an incoming event. The event processor calls this method when it
receives an event message (usually via JMS) that is addressed to a
specific plugin. If the event handler merely transforms the incoming
data to a different format (typically XML), it should return the
transformed data, with appropriate content type and other attributes
set. Event handlers that completely process the incoming event
internally should return
null. Event handlers can also
translate a single incoming event into multiple outgoing events for
the event processor to handle sequentially.
- Returns:
- Transformed event data, to be handled by the standard event
processor.
WebLogic Integration (WLI)