|
Oracle Fusion Middleware Sensor Java API Reference for BPEL Process Manager 11g Release 1 (11.1.1.7.0) E14900-09 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface DataPublisher
This interface needs to be implemented by custom data publishers.
The publish(com.oracle.bpel.sensor.schemas.ITSensorAction, com.oracle.bpel.sensor.schemas.ITSensorActionData, org.w3c.dom.Element)
method is invoked whenever a sensor associated to the custom data publisher is fired.
Note: Invocations of the publish(com.oracle.bpel.sensor.schemas.ITSensorAction, com.oracle.bpel.sensor.schemas.ITSensorActionData, org.w3c.dom.Element)
method might occurr concurrently, therefore it is assumed that the code inside this method is thread safe.
Method Summary | |
---|---|
void |
publish(ITSensorAction action, ITSensorActionData data, org.w3c.dom.Element xmlData) Publish sensor data. |
Method Detail |
---|
void publish(ITSensorAction action, ITSensorActionData data, org.w3c.dom.Element xmlData) throws java.lang.Exception
action
- Metadata of the sensor action that triggered the publishingdata
- The sensor data to publishxmlData
- The ITSensorActionData
object as a Element
object. This object is provided for your convenience. It might be used in cases where further XML processing of the data is required or in the case where the XML document is printed to some file or the console.java.lang.Exception
- If publishing fails. In this case the caller logs the exception to the BPEL PM log file.
|
Oracle Fusion Middleware Sensor Java API Reference for BPEL Process Manager 11g Release 1 (11.1.1.7.0) E14900-09 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |