WebLogic Process Integrator Version 2.0

com.bea.wlpi.server.plugin
Interface EventHandler

All Superinterfaces:
java.io.Serializable

public interface EventHandler
extends java.io.Serializable

Interface through which plugins can handle or transform incoming event data.

Since:
WebLogic Process Integrator 2.0

Method Summary
 com.bea.wlpi.server.eventprocessor.EventData[] onEvent(com.bea.wlpi.server.eventprocessor.EventData eventData)
          Handle an incoming event.
 

Method Detail

onEvent

public com.bea.wlpi.server.eventprocessor.EventData[] onEvent(com.bea.wlpi.server.eventprocessor.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 Process Integrator Version 2.0

BEA WebLogic Process Integrator is a trademark of BEA Systems, Inc.
Copyright (c) 2001 BEA Systems, Inc.
All rights reserved.