net.openwings.container
Interface ContainerManagerListener
- All Superinterfaces:
- ContainerListener, ContainerProcessListener
- public interface ContainerManagerListener
- extends ContainerListener
This interface describes a callback that can be used to register
interest in receiving status updates from a
ContainerManager. This interface extends the
ContainerListener interface and adds notification for
the addition / removal of runnable components
addRunnableProcesses
public void addRunnableProcesses(UniqueID containerManagerID,
ComponentDescriptor[] runnableProcesses)
throws java.rmi.RemoteException
- This method should be called when a
ContainerManager
has new processes (components) that it is able to run.
- Parameters:
containerManagerID - the ContainerManager which is generating
this notification.runnableProcesses - array of descriptors describing components.
that this ContainerManager is now able to run.
- Throws:
java.rmi.RemoteException - if there is an error communicating with
the ContainerManagerListener.
removeRunnableProcesses
public void removeRunnableProcesses(UniqueID containerManagerID,
ComponentDescriptor[] runnableProcesses)
throws java.rmi.RemoteException
- This method should be called when a
ContainerManager
has processes (components) that it is no longer able to run.
- Parameters:
containerManagerID - the ContainerManager which is generating
this notification.runnableProcesses - array of descriptors describing components.
that this ContainerManager no longer able to run.
- Throws:
java.rmi.RemoteException - if there is an error communicating with
the ContainerManagerListener.