public class ServiceMBean extends BaseModelMBean
attributeBroadcaster, generalBroadcaster, managedBean, oname, resource, resourceType| Constructor and Description | 
|---|
| ServiceMBean() | 
| Modifier and Type | Method and Description | 
|---|---|
| void | addConnector(String address,
            int port,
            boolean isAjp,
            boolean isSSL)Add a new Connector to the set of defined Connectors, and associate it
 with this Service's Container. | 
| void | addExecutor(String type)Adds a named executor to the service | 
| String[] | findConnectors()Find and return the set of Connectors associated with this Service. | 
| String[] | findExecutors()Retrieves all executors | 
| String | getExecutor(String name)Retrieves executor by name | 
addAttributeChangeNotificationListener, addNotificationListener, getAttribute, getAttributes, getClassName, getJmxName, getManagedResource, getMBeanInfo, getModelerType, getNotificationInfo, getObjectName, invoke, postDeregister, postRegister, preDeregister, preRegister, removeAttributeChangeNotificationListener, removeAttributeChangeNotificationListener, removeNotificationListener, removeNotificationListener, removeNotificationListener, sendAttributeChangeNotification, sendAttributeChangeNotification, sendNotification, sendNotification, setAttribute, setAttributes, setManagedBean, setManagedResource, toStringpublic ServiceMBean()
             throws MBeanException,
                    RuntimeOperationsException
public void addConnector(String address, int port, boolean isAjp, boolean isSSL) throws MBeanException
address - The IP address on which to bindport - TCP port number to listen onisAjp - Create a AJP/1.3 ConnectorisSSL - Create a secure ConnectorMBeanExceptionpublic void addExecutor(String type) throws MBeanException
type - Classname of the Executor to be addedMBeanExceptionpublic String[] findConnectors() throws MBeanException
MBeanExceptionpublic String[] findExecutors() throws MBeanException
MBeanExceptionpublic String getExecutor(String name) throws MBeanException
name - Name of the executor to be retrievedMBeanExceptionCopyright © 2000-2020 Apache Software Foundation. All Rights Reserved.