Oracle Fusion Middleware extensions for Applications Core API Reference
11g Release 1 (11.1.1.6)

E22562-05

oracle.apps.fnd.applcore.soa.sensor
Class SensorActionLogger

java.lang.Object
  extended by oracle.apps.fnd.applcore.soa.sensor.SensorActionLogger
All Implemented Interfaces:
com.oracle.bpel.sensor.DataPublisher

public class SensorActionLogger
extends java.lang.Object
implements com.oracle.bpel.sensor.DataPublisher

Since:
11gR1
Version:
$Header: atgpf/applcore/applications/Services/FusionAppsFault/src/oracle/apps/fnd/applcore/soa/sensor/SensorActionLogger.java /st_atgpf_11.1.1.6.2/1 2012/06/15 14:00:23 xiuzhang Exp $
Author:
Oracle

Constructor Summary
SensorActionLogger()
           
 
Method Summary
 void publish(com.oracle.bpel.sensor.schemas.ITSensorAction action, com.oracle.bpel.sensor.schemas.ITSensorActionData actionData, org.w3c.dom.Element xmlData)
          Publish sensor data.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SensorActionLogger

public SensorActionLogger()
Method Detail

publish

public void publish(com.oracle.bpel.sensor.schemas.ITSensorAction action,
                    com.oracle.bpel.sensor.schemas.ITSensorActionData actionData,
                    org.w3c.dom.Element xmlData)
             throws java.lang.Exception
Publish sensor data. This method is uded to log user messages (levles FINE, FINER, FINEST) and predefined messages at their level. BPEL process users variables LOG_FINE, LOG_FINER, LOG_FINEST and LOG_MESSAGE respectively.

Specified by:
publish in interface com.oracle.bpel.sensor.DataPublisher
Parameters:
action - Metadata of the sensor action that triggered the publishing
actionData - The sensor data to publish
xmlData - 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.
Throws:
java.lang.Exception - If publishing fails. In this case the caller logs the exception to the BPEL PM log file.

Oracle Fusion Middleware extensions for Applications Core API Reference
11g Release 1 (11.1.1.6)

E22562-05

Copyright © 2012 Oracle. All Rights Reserved.