FileDocCategorySizeDatePackage
ControllerMBean.javaAPI DocExample466Thu May 23 09:32:50 BST 2002 sample.standard

ControllerMBean.java

package  sample.standard;

/**
 * Management interface for the Controller in order
 * to instrument it as a standard MBean. There are
 * no attributes and two operations:
 *
 * 1. createWorker() - creates a new worker thread.
 * 2. reset() - resets the state of the controller.
 *    This method is inherited from BasicMBean.
 */
public interface ControllerMBean extends BasicMBean {
    public void createWorker (String role, int workFactor);
}