|
Oracle Fusion Middleware Infrastructure Management Java API Reference for Oracle SOA Suite 11g Release 1 (11.1.1.6.3) E10659-09 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
oracle.soa.management.internal.facade.BaseFacade
oracle.soa.management.facade.SensorData
public class SensorData
Instance representation of a composite sensor that fired // retrieve composite sensors List <SensorData> sensorData = instance.getSensorData(); for (SensorData data : sensorData) { System.out.println(" -> Sensor: " + data.getSensor().getName() + " data: " + data.getData() + " type: " +data.getSensor() + " on component: " + data.getComponentName()); }
CompositeInstance
, Serialized FormConstructor Summary | |
---|---|
SensorData(Sensor sensor, long compositeInstanceId, java.lang.String componentName, java.lang.String actionName, java.lang.Object data) Internal |
Method Summary | |
---|---|
java.lang.String |
getActionName() Returns the operation the sensor data was triggered on |
java.lang.String |
getComponentName() Returns the component name the sensor data was created on |
long |
getCompositeInstanceId() Returns the composite instance id this sensor data belongs to |
java.lang.Object |
getData() Returns the phyiscal data of the sensor |
Sensor |
getSensor() Returns the underlying physical sensor |
Methods inherited from class oracle.soa.management.internal.facade.BaseFacade |
---|
getApplicationName, getLocator, setApplicationName, setLocator |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SensorData(Sensor sensor, long compositeInstanceId, java.lang.String componentName, java.lang.String actionName, java.lang.Object data)
Method Detail |
---|
public Sensor getSensor()
public long getCompositeInstanceId()
public java.lang.String getComponentName()
public java.lang.String getActionName()
public java.lang.Object getData() throws java.lang.Exception
java.lang.Exception
- in case the data cannot be retrievedSensor.getDataType()
|
Oracle Fusion Middleware Infrastructure Management Java API Reference for Oracle SOA Suite 11g Release 1 (11.1.1.6.3) E10659-09 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |