|
IBM WebSphere Application ServerTM Release 7 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.websphere.grid.spi.SPI
com.ibm.websphere.grid.spi.WSGridNotificationSPI
public abstract class WSGridNotificationSPI
Field Summary | |
---|---|
static java.lang.String |
JOB_STATE_ENDED
Identifies the job ended notification type. |
static java.lang.String |
JOB_STATE_STARTED
Identifies the job started notification type. |
static java.lang.String |
STEP_STATE_ENDED
Identifies the step ended notification type. |
static java.lang.String |
STEP_STATE_STARTED
Identifies the step started notification type. |
Constructor Summary | |
---|---|
WSGridNotificationSPI()
|
Method Summary | |
---|---|
abstract void |
notificationReceived(java.util.Properties jobProps,
java.lang.String xdJobID,
java.lang.String notification,
int rc)
Callback method invoked by job scheduler job lifecycle events. |
Methods inherited from class com.ibm.websphere.grid.spi.SPI |
---|
compareTo, getInvocationOrder, getName, setInvocationOrder, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String JOB_STATE_STARTED
Identifies the job started notification type.
public static final java.lang.String STEP_STATE_STARTED
Identifies the step started notification type.
public static final java.lang.String STEP_STATE_ENDED
Identifies the step ended notification type.
public static final java.lang.String JOB_STATE_ENDED
Identifies the job ended notification type.
Constructor Detail |
---|
public WSGridNotificationSPI()
Method Detail |
---|
public abstract void notificationReceived(java.util.Properties jobProps, java.lang.String xdJobID, java.lang.String notification, int rc)
Callback method invoked by job scheduler job lifecycle events. This method must be implemented by the WSGridNotificationSPI subclass implementor.
jobProps
- contains the properties specified in the WSGrid properties file(s) for this job.xdJobID
- specifies the job id of the job corresponding to this notification.notification
- specifies the lifecycle event that occurred for the specified job.
The event type is defined by the following constants:
rc
- specifies the step or job return code. It is defined only for notification types:
|
IBM WebSphere Application ServerTM Release 7 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |