|
Oracle Fusion Middleware Infrastructure Management Java API Reference for Oracle SOA Suite 11g Release 1 (11.1.1.7) E10659-10 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface CompositeInstance
SCA composite instance facade, contains child component instances, sensor data and other useful information.
// for each of the returned composite instances.. for (CompositeInstance instance : obInstances) { System.out.println(" DN: " + instance.getCompositeDN() + " > Instance: " + instance.getId() + " creation-date: " + instance.getCreationDate() + " state (" + instance.getState() + "): " + getStateAsString(instance.getState()));
// setup a component filter ComponentInstanceFilter cInstanceFilter = new ComponentInstanceFilter ();
// get child component instances .. List <ComponentInstance> childComponentInstances = instance.getChildComponentInstances(cInstanceFilter); for (ComponentInstance cInstance : childComponentInstances) { System.out.println(" -> componentinstance: " + cInstance.getComponentName() + " type: " + cInstance.getServiceEngine().getEngineType()+ " state: " + getStateAsString(cInstance.getState())); } // 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()); } }
Field Summary | |
---|---|
static int |
STATE_COMPLETED Deprecated. |
static int |
STATE_COMPLETED_SUCCESSFULLY |
static int |
STATE_FAULTED |
static int |
STATE_IN_FLIGHT Deprecated. |
static int |
STATE_RECOVERY_REQUIRED |
static int |
STATE_RUNNING |
static int |
STATE_STALE |
static int |
STATE_SUSPENDED |
static int |
STATE_TERMINATED_BY_USER |
static int |
STATE_UNKNOWN |
Method Summary | |
---|---|
void |
abort() Abort the composite instance. |
void |
delete() Delete this instance. |
java.lang.String |
getActionName() |
java.lang.String |
getActionType() |
java.lang.String |
getAuditTrail() Returns the audit trail of this composite instance. |
java.util.List<ComponentInstance> |
getChildComponentInstances(ComponentInstanceFilter filter) Returns a list of the child component instances that matches the conditions specified by the given filter. |
CompositeDN |
getCompositeDN() Returns the DN of the composite. |
java.lang.String |
getConversationId() Returns the conversationId of this instance. |
java.util.Date |
getCreationDate() Returns the creation date of this instance. |
java.lang.String |
getCreator() Returns the creator date of this instance. |
java.lang.String |
getECID() Returns the ECID of this instance. |
int |
getExecutionState() Returns the current state of this instance barring Faulted and RecoveryRequired |
int |
getFaultCount() Returns the no. |
long |
getId() |
java.util.Date |
getModifyDate() Returns the date this instance was last modified on. |
java.lang.String |
getParentId() Returns the parentId of this instance. |
java.lang.String |
getRootId() Returns the rootId of this instance. |
java.util.List<SensorData> |
getSensorData() |
java.lang.String |
getServiceName() Deprecated. Replaced by getSourceName() |
java.lang.String |
getSourceName() |
java.lang.String |
getSourceType() |
int |
getState() Returns the current state of this instance. |
java.lang.String |
getStatus() Retrieves the current status of this instance. |
java.lang.String |
getTestCase() Returns the test case name associated with this instance. |
java.lang.String |
getTestRunId() Returns the test run id associated with this instance. |
java.lang.String |
getTestRunName() Returns the test run name associated with this instance. |
java.lang.String |
getTestSuite() Returns the test suite name of the test associated with this instance. |
java.lang.String |
getTitle() Returns the title set for this composite instance |
boolean |
hasNonRecoverableFaults() Returns true, if there are non-recoverable faults associated with this instance |
boolean |
hasRecoverableFaults() Returns true, if there are recoverable faults associated with this instance |
boolean |
isTestCase() Is this composite instance a test case |
Methods inherited from interface oracle.soa.management.facade.TenantInstance |
---|
getTenantId, setTenantId |
Field Detail |
---|
@Deprecated
static final int STATE_IN_FLIGHT
@Deprecated
static final int STATE_COMPLETED
static final int STATE_UNKNOWN
static final int STATE_RUNNING
static final int STATE_RECOVERY_REQUIRED
static final int STATE_COMPLETED_SUCCESSFULLY
static final int STATE_FAULTED
static final int STATE_TERMINATED_BY_USER
static final int STATE_SUSPENDED
static final int STATE_STALE
Method Detail |
---|
long getId()
@Deprecated
java.lang.String getServiceName()
getSourceName()
java.lang.String getSourceName()
java.lang.String getSourceType()
java.lang.String getActionType()
java.lang.String getActionName()
CompositeDN getCompositeDN()
java.lang.String getTitle()
java.util.List<ComponentInstance> getChildComponentInstances(ComponentInstanceFilter filter)
java.util.Date getCreationDate()
java.lang.String getECID()
java.lang.String getCreator()
java.util.Date getModifyDate()
int getState()
int getExecutionState()
boolean hasNonRecoverableFaults()
boolean hasRecoverableFaults()
java.lang.String getStatus()
setStatus()
method from a BPELX java exec tag.
The semantics attached to the status value are the sole domain and responsibility of the developer.
java.lang.String getConversationId()
The semantics attached to the status value are the sole domain and responsibility of the user.
java.lang.String getRootId()
The semantics attached to the status value are the sole domain and responsibility of the user.
java.lang.String getParentId()
The semantics attached to the status value are the sole domain and responsibility of the user.
boolean isTestCase()
java.lang.String getTestSuite()
java.lang.String getTestCase()
java.lang.String getTestRunId()
java.lang.String getTestRunName()
java.lang.String getAuditTrail()
void abort() throws java.lang.Exception
java.lang.Exception
void delete() throws java.lang.Exception
java.lang.Exception
int getFaultCount()
java.util.List<SensorData> getSensorData() throws java.lang.Exception
java.lang.Exception
|
Oracle Fusion Middleware Infrastructure Management Java API Reference for Oracle SOA Suite 11g Release 1 (11.1.1.7) E10659-10 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |