|
IBM WebSphere Application ServerTM Release 8 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface BPCActivity
The BPCActivity
is an interface to obtain detailed information
of a stopped activity in a BPC failed event, and set new information for failed event resubmission.
The detailed information includes
Field Summary | |
---|---|
static java.lang.String |
COPYRIGHT
|
Method Summary | |
---|---|
java.lang.String |
getActivityName()
Return the Activity Name |
java.lang.String |
getAiid()
Return the activity instance ID |
java.util.Date |
getFailureDateTime()
Return the last state change time for the activity |
java.util.List<FailedEventParameter> |
getInputMessage()
Return the input message of the stopped activity. |
java.util.List<FailedEventParameter> |
getInputMessage(java.util.Properties adminClientProperties)
Return input message of a stopped activity in the BPC failed event with admin client connection properties. |
void |
setInputMessage(java.util.List<FailedEventParameter> inputMessage)
Set the input message for activity forceRetry |
Field Detail |
---|
static final java.lang.String COPYRIGHT
Method Detail |
---|
java.lang.String getAiid()
java.lang.String getActivityName()
java.util.List<FailedEventParameter> getInputMessage()
1. The client is in the same cell as WPS runtime.
2. The client is in a different cell as WPS runtime, and the admin client properties have been put into Java system environment.
This API does not explicitly throw exception. However, if exception happens such as
failed to load BO schema and BO deserialization fails,
FailedEventRuntimeException
will be throw as runtime exception.
java.util.List<FailedEventParameter> getInputMessage(java.util.Properties adminClientProperties)
The admin client properties should included the following information.
When security is enabled, additional information are required.
For SOAP based connection, some other properties may also be required in order to make a SSL connection.
An easy way to use this API is to obtain the properties from the existing admin client.
For example,
List parameters = getFailedEventParameters(adminClient.getConnectorProperties());
This API does not explicitly throw exception. However, if exception happens such as failed to load BO schema and BO deserialization fails, FailedEventDataException will be throw as runtime exception.
adminClientProperties
-
void setInputMessage(java.util.List<FailedEventParameter> inputMessage)
inputMessage
- java.util.Date getFailureDateTime()
|
IBM WebSphere Application ServerTM Release 8 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |