Openwings API Documentation (v1.1)

net.openwings.container
Interface ContainerProcessListener

All Known Subinterfaces:
ContainerListener, ContainerManagerListener

public interface ContainerProcessListener

This interface describes a callback that can be used to register interest in receiving process status updates from a ContainerProcess, Container, or ContainerManager.


Method Summary
 void processStatusUpdate(ContainerProcess process, ContainerProcessStatus processStatus)
          This method is called when the status of a ContainerProcess changes.
 

Method Detail

processStatusUpdate

public void processStatusUpdate(ContainerProcess process,
                                ContainerProcessStatus processStatus)
                         throws java.rmi.RemoteException
This method is called when the status of a ContainerProcess changes.

Parameters:
process - the ContainerProcess to which this status report applies. This parameter makes it possible to use the same ContainerProcessListener to track the status of multiple processes.
processStatus - the status report itself.
Throws:
java.rmi.RemoteException - if there is an error communicating with the ContainerProcessListener.

Openwings API Documentation (v1.1)