Openwings API Documentation (v1.1)

net.openwings.container
Interface ContainerManagerMBean

All Superinterfaces:
MBean

public interface ContainerManagerMBean
extends MBean

This class is a management bean that a Container Manager implementation can expose to allow access to the set of processes it knows how to run.


Method Summary
 void addRunnableProcess(ComponentDescriptor descriptor)
          This method adds a process to the list of processes the ContainerManager is able to run.
 ComponentDescriptor[] getRunnableProcesses()
          This method returns the deployment view of each process the ContainerManager is able to run
 void removeRunnableProcess(ComponentDescriptor descriptor)
          This method removes a process from the list of processes the ContainerManager is able to run.
 
Methods inherited from interface net.openwings.management.MBean
getMBeanInfo
 

Method Detail

getRunnableProcesses

public ComponentDescriptor[] getRunnableProcesses()
                                           throws java.rmi.RemoteException
This method returns the deployment view of each process the ContainerManager is able to run

Returns:
array of ComponentDescriptor objects describing the deployment view of each process the ContainerManager is able to run, or null if no processes have been configured or installed.
Throws:
java.rmi.RemoteException

addRunnableProcess

public void addRunnableProcess(ComponentDescriptor descriptor)
                        throws java.rmi.RemoteException
This method adds a process to the list of processes the ContainerManager is able to run.

Parameters:
descriptor - a ComponentDescriptor describing the parameters needed to run the process.
Throws:
java.rmi.RemoteException

removeRunnableProcess

public void removeRunnableProcess(ComponentDescriptor descriptor)
                           throws java.rmi.RemoteException
This method removes a process from the list of processes the ContainerManager is able to run.

Parameters:
descriptor - a ComponentDescriptor describing the parameters needed to run the process.
Throws:
java.rmi.RemoteException

Openwings API Documentation (v1.1)