|
Apache Tomcat 7.0.28 | ||||||||
| 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(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 |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public ServiceMBean()
throws MBeanException,
RuntimeOperationsException
MBeanException
RuntimeOperationsException| Method Detail |
|---|
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 Connector
MBeanException
public void addExecutor(String type)
throws MBeanException
type - Classname of the Executor to be added
MBeanException
public String[] findConnectors()
throws MBeanException
MBeanException
public String[] findExecutors()
throws MBeanException
MBeanException
public String getExecutor(String name)
throws MBeanException
name - Name of the executor to be retrieved
MBeanException
|
Apache Tomcat 7.0.28 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||