com.tivoli.twg.engine
Interface TWGTaskActivationListener

All Known Implementing Classes:
TWGJobActivation

public interface TWGTaskActivationListener

This interface must be implemented by objects running in the engine's JVM that wish to be notified about significant state changes to a subtask activation.


Method Summary
 void activationStatusChanged(TWGTaskActivation act, int status)
          This method is called when the status of a task activation has changed.
 void clientStatusChanged(TWGTaskActivation act, TWGLocalManagedObject lmo, int status)
          This method is called when the status of a client has changed.
 

Method Detail

activationStatusChanged

public void activationStatusChanged(TWGTaskActivation act,
                                    int status)
This method is called when the status of a task activation has changed. See TWGTaskConstants for constants starting with ACT_STATUS_

Parameters:
act - TWGTaskActivation object that had a state change
status - the new status of the activation

clientStatusChanged

public void clientStatusChanged(TWGTaskActivation act,
                                TWGLocalManagedObject lmo,
                                int status)
This method is called when the status of a client has changed. See TWGTaskConstants for constants starting with CLIENT_TASK_

Parameters:
act - TWGTaskActivation object that had client with a state change
lmo - TWGLocalManagedObject representing the client
status - the new status of the client