public class ServiceMBean extends BaseModelMBean
attributeBroadcaster, generalBroadcaster, managedBean, oname, resource, resourceType| Constructor and Description | 
|---|
| ServiceMBean() | 
| Modifier and Type | Method and Description | 
|---|---|
| void | addConnector(java.lang.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(java.lang.String type)Adds a named executor to the service | 
| java.lang.String[] | findConnectors()Find and return the set of Connectors associated with this Service. | 
| java.lang.String[] | findExecutors()Retrieves all executors | 
| java.lang.String | getExecutor(java.lang.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 javax.management.MBeanException,
                    javax.management.RuntimeOperationsException
javax.management.MBeanExceptionjavax.management.RuntimeOperationsExceptionpublic void addConnector(java.lang.String address,
                int port,
                boolean isAjp,
                boolean isSSL)
                  throws javax.management.MBeanException
address - The IP address on which to bindport - TCP port number to listen onisAjp - Create a AJP/1.3 ConnectorisSSL - Create a secure Connectorjavax.management.MBeanExceptionpublic void addExecutor(java.lang.String type)
                 throws javax.management.MBeanException
type - Classname of the Executor to be addedjavax.management.MBeanExceptionpublic java.lang.String[] findConnectors()
                                  throws javax.management.MBeanException
javax.management.MBeanExceptionpublic java.lang.String[] findExecutors()
                                 throws javax.management.MBeanException
javax.management.MBeanExceptionpublic java.lang.String getExecutor(java.lang.String name)
                             throws javax.management.MBeanException
name - Name of the executor to be retrievedjavax.management.MBeanExceptionCopyright © 2000-2015 Apache Software Foundation. All Rights Reserved.