Oracle BPEL Process Manager
Client API Reference
10g Release 2 (10.1.2)
B25709-01


com.oracle.bpel.client
Interface IActivationAgentHandle

All Superinterfaces:
IBPELProcessConstants

public interface IActivationAgentHandle
extends IBPELProcessConstants

The IActivationAgentHandle interface allows the user to start/stop an activation agent of a BPEL process deployed on a BPEL process domain.

Since:
1.0

Field Summary

 

Fields inherited from interface com.oracle.bpel.client.IBPELProcessConstants
LIFECYCLE_ACTIVE, LIFECYCLE_RETIRED, OP_TYPE_CONTINUE_POST, OP_TYPE_CONTINUE_REQUEST, OP_TYPE_INITIAL_POST, OP_TYPE_INITIAL_REQUEST, OP_TYPE_UNDEFINED, STATE_OFF, STATE_ON

 

Method Summary
 void addJCAStats(java.lang.String processId, java.lang.String revisionTag, boolean isInbound, long time)
          Records the total time for one inbound event
 void addStats(com.collaxa.common.util.StopWatch sw)
          Add recorded StopWatch stats for one inbound invocation
 Statistics[] getInJCAStats(java.lang.String procId, java.lang.String rev)
          Used in the Adapter Statistics JSP to retrieve recorded stats (total time)
 Statistics[] getInStats(java.lang.String procId, java.lang.String rev)
          Used in the Adapter Statistics JSP to retrieve recorded stats (StopWatches)
 long getStartTime()
          Returns the StartTime record via putStartTime()
 Statistics[] getStats()
          Return all recorded inbound Adapter Statistics.
 com.collaxa.common.util.StopWatch getStopWatch()
          Deprecated. stop watch now held using ThreadLocal
 void putStartTime(long stTime)
          Sets the StartTime for the default inbound Adapter Framework StopWatch used when dealing with third party adapters which do not support the notion of StopWatches.
 void setStopWatch(com.collaxa.common.util.StopWatch sw)
          Deprecated. stop watch now held using ThreadLocal

 

Method Detail

getStopWatch

public com.collaxa.common.util.StopWatch getStopWatch()
Deprecated. stop watch now held using ThreadLocal
Returns the default StopWatch associated with the ActivationAgent via setStopWatch().

getStartTime

public long getStartTime()
Returns the StartTime record via putStartTime()
Returns:
the start time of the default inbound stop watch.

putStartTime

public void putStartTime(long stTime)
Sets the StartTime for the default inbound Adapter Framework StopWatch used when dealing with third party adapters which do not support the notion of StopWatches.
Parameters:
stTime - the start time (System.currentTimeMillis())

setStopWatch

public void setStopWatch(com.collaxa.common.util.StopWatch sw)
Deprecated. stop watch now held using ThreadLocal
Sets the default StopWatch of the Activation Agent

addStats

public void addStats(com.collaxa.common.util.StopWatch sw)
Add recorded StopWatch stats for one inbound invocation

addJCAStats

public void addJCAStats(java.lang.String processId,
                        java.lang.String revisionTag,
                        boolean isInbound,
                        long time)
Records the total time for one inbound event
Parameters:
processId - BPEL process id
revisionTag - BPEL process revision
isInbound - whether this is inbound or outbound stats
time - total time (endtime-startime in ms)

getStats

public Statistics[] getStats()
Return all recorded inbound Adapter Statistics. Used in the Adapter Statistics JSP (ngAdapterDomainStats.jsp).
Returns:
an array of all record statistics

getInStats

public Statistics[] getInStats(java.lang.String procId,
                               java.lang.String rev)
Used in the Adapter Statistics JSP to retrieve recorded stats (StopWatches)
Parameters:
procId - BPEL process id
rev - BPEL process revision
Returns:
statistics recorded for this process/revision

getInJCAStats

public Statistics[] getInJCAStats(java.lang.String procId,
                                  java.lang.String rev)
Used in the Adapter Statistics JSP to retrieve recorded stats (total time)
Parameters:
procId - BPEL process id
rev - BPEL process revision
Returns:
statistics recorded for this process/revision

Oracle BPEL Process Manager
Client API Reference
10g Release 2 (10.1.2)
B25709-01


Copyright © 2005, Oracle. All rights reserved.