javax.management.DynamicMBean, javax.management.MBeanRegistration, javax.management.modelmbean.ModelMBeanNotificationBroadcaster, javax.management.NotificationBroadcasterpublic class ServiceMBean extends BaseCatalinaMBean<Service>
attributeBroadcaster, generalBroadcaster, managedBean, oname, resource, resourceType| Constructor | Description |
|---|---|
ServiceMBean() |
| Modifier and Type | Method | 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
|
doGetManagedResource, newInstanceaddAttributeChangeNotificationListener, addNotificationListener, getAttribute, getAttributes, getClassName, getJmxName, getManagedResource, getMBeanInfo, getModelerType, getNotificationInfo, getObjectName, invoke, postDeregister, postRegister, preDeregister, preRegister, removeAttributeChangeNotificationListener, removeNotificationListener, sendAttributeChangeNotification, sendAttributeChangeNotification, sendNotification, sendNotification, setAttribute, setAttributes, setManagedBean, setManagedResource, toStringpublic 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.MBeanException - error creating the connectorpublic void addExecutor(java.lang.String type)
throws javax.management.MBeanException
type - Classname of the Executor to be addedjavax.management.MBeanException - error creating the executorpublic java.lang.String[] findConnectors()
throws javax.management.MBeanException
javax.management.MBeanException - error accessing the associated servicepublic java.lang.String[] findExecutors()
throws javax.management.MBeanException
javax.management.MBeanException - error accessing the associated servicepublic java.lang.String getExecutor(java.lang.String name)
throws javax.management.MBeanException
name - Name of the executor to be retrievedjavax.management.MBeanException - error accessing the associated serviceCopyright © 2000-2018 Apache Software Foundation. All Rights Reserved.