|
Apache Tomcat 7.0.22 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.apache.tomcat.util.modeler.BaseModelMBean
org.apache.catalina.mbeans.ServiceMBean
public class ServiceMBean
| Field Summary |
|---|
| Fields inherited from class org.apache.tomcat.util.modeler.BaseModelMBean |
|---|
attributeBroadcaster, generalBroadcaster, managedBean, oname, resource, resourceType |
| Constructor Summary | |
|---|---|
ServiceMBean()
|
|
| Method Summary | |
|---|---|
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 |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public ServiceMBean()
throws javax.management.MBeanException,
javax.management.RuntimeOperationsException
javax.management.MBeanException
javax.management.RuntimeOperationsException| Method Detail |
|---|
public 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 Connector
javax.management.MBeanException
public void addExecutor(java.lang.String type)
throws javax.management.MBeanException
type - Classname of the Executor to be added
javax.management.MBeanException
public java.lang.String[] findConnectors()
throws javax.management.MBeanException
javax.management.MBeanException
public java.lang.String[] findExecutors()
throws javax.management.MBeanException
javax.management.MBeanException
public java.lang.String getExecutor(java.lang.String name)
throws javax.management.MBeanException
name - Name of the executor to be retrieved
javax.management.MBeanException
|
Apache Tomcat 7.0.22 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||