org.apache.catalina.mbeans
public class MBeanFactory extends BaseModelMBean
A ModelMBean implementation for the
org.apache.catalina.core.StandardServer
component.
Version: $Revision: 467222 $ $Date: 2006-10-24 05:17:11 +0200 (Tue, 24 Oct 2006) $
Constructor Summary | |
---|---|
MBeanFactory()
Construct a ModelMBean with default
ModelMBeanInfo information.
|
Method Summary | |
---|---|
String | createAccessLoggerValve(String parent)
Create a new AccessLoggerValve.
|
String | createAjpConnector(String parent, String address, int port)
Create a new AjpConnector
|
String | createDataSourceRealm(String parent, String dataSourceName, String roleNameCol, String userCredCol, String userNameCol, String userRoleTable, String userTable)
Create a new DataSource Realm.
|
String | createHttpConnector(String parent, String address, int port)
Create a new HttpConnector
|
String | createHttpsConnector(String parent, String address, int port)
Create a new HttpsConnector
|
String | createJDBCRealm(String parent, String driverName, String connectionName, String connectionPassword, String connectionURL)
Create a new JDBC Realm.
|
String | createJNDIRealm(String parent)
Create a new JNDI Realm.
|
String | createMemoryRealm(String parent)
Create a new Memory Realm.
|
String | createRemoteAddrValve(String parent)
Create a new Remote Address Filter Valve.
|
String | createRemoteHostValve(String parent)
Create a new Remote Host Filter Valve.
|
String | createRequestDumperValve(String parent)
Create a new Request Dumper Valve.
|
String | createSingleSignOn(String parent)
Create a new Single Sign On Valve.
|
String | createStandardContext(String parent, String path, String docBase)
Create a new StandardContext.
|
String | createStandardContext(String parent, String path, String docBase, boolean xmlValidation, boolean xmlNamespaceAware, boolean tldValidation, boolean tldNamespaceAware)
Create a new StandardContext.
|
Vector | createStandardEngineService(String parent, String engineName, String defaultHost, String serviceName)
Create a new StandardEngine.
|
String | createStandardHost(String parent, String name, String appBase, boolean autoDeploy, boolean deployOnStartup, boolean deployXML, boolean unpackWARs, boolean xmlNamespaceAware, boolean xmlValidation)
Create a new StandardHost.
|
String | createStandardManager(String parent)
Create a new StandardManager.
|
String | createStandardService(String parent, String name, String domain)
Create a new StandardService.
|
String | createUserDatabaseRealm(String parent, String resourceName)
Create a new UserDatabaseRealm.
|
String | createWebappLoader(String parent)
Create a new Web Application Loader.
|
String | findObjectName(String type)
Return the managed bean definition for the specified bean type
|
void | removeConnector(String name)
Remove an existing Connector.
|
void | removeContext(String contextName)
Remove an existing Context.
|
void | removeHost(String name)
Remove an existing Host.
|
void | removeLoader(String name)
Remove an existing Loader.
|
void | removeManager(String name)
Remove an existing Manager.
|
void | removeRealm(String name)
Remove an existing Realm.
|
void | removeService(String name)
Remove an existing Service.
|
void | removeValve(String name)
Remove an existing Valve.
|
ModelMBean
with default
ModelMBeanInfo
information.
Throws: MBeanException if the initializer of an object throws an exception RuntimeOperationsException if an IllegalArgumentException occurs
Parameters: parent MBean Name of the associated parent component
Throws: Exception if an MBean cannot be created or registered
Parameters: parent MBean Name of the associated parent component address The IP address on which to bind port TCP port number to listen on
Throws: Exception if an MBean cannot be created or registered
Parameters: parent MBean Name of the associated parent component
Throws: Exception if an MBean cannot be created or registered
Parameters: parent MBean Name of the associated parent component address The IP address on which to bind port TCP port number to listen on
Throws: Exception if an MBean cannot be created or registered
Parameters: parent MBean Name of the associated parent component address The IP address on which to bind port TCP port number to listen on
Throws: Exception if an MBean cannot be created or registered
Parameters: parent MBean Name of the associated parent component
Throws: Exception if an MBean cannot be created or registered
Parameters: parent MBean Name of the associated parent component
Throws: Exception if an MBean cannot be created or registered
Parameters: parent MBean Name of the associated parent component
Throws: Exception if an MBean cannot be created or registered
Parameters: parent MBean Name of the associated parent component
Throws: Exception if an MBean cannot be created or registered
Parameters: parent MBean Name of the associated parent component
Throws: Exception if an MBean cannot be created or registered
Parameters: parent MBean Name of the associated parent component
Throws: Exception if an MBean cannot be created or registered
Parameters: parent MBean Name of the associated parent component
Throws: Exception if an MBean cannot be created or registered
Parameters: parent MBean Name of the associated parent component path The context path for this Context docBase Document base directory (or WAR) for this Context
Throws: Exception if an MBean cannot be created or registered
Parameters: parent MBean Name of the associated parent component path The context path for this Context docBase Document base directory (or WAR) for this Context
Throws: Exception if an MBean cannot be created or registered
Parameters: parent MBean Name of the associated parent component engineName Unique name of this Engine defaultHost Default hostname of this Engine serviceName Unique name of this Service
Throws: Exception if an MBean cannot be created or registered
Parameters: parent MBean Name of the associated parent component name Unique name of this Host appBase Application base directory name autoDeploy Should we auto deploy? deployOnStartup Deploy on server startup? deployXML Should we deploy Context XML config files property? unpackWARs Should we unpack WARs when auto deploying? xmlNamespaceAware Should we turn on/off XML namespace awareness? xmlValidation Should we turn on/off XML validation?
Throws: Exception if an MBean cannot be created or registered
Parameters: parent MBean Name of the associated parent component
Throws: Exception if an MBean cannot be created or registered
Parameters: parent MBean Name of the associated parent component name Unique name of this StandardService
Throws: Exception if an MBean cannot be created or registered
Parameters: parent MBean Name of the associated parent component resourceName Global JNDI resource name of the associated UserDatabase
Throws: Exception if an MBean cannot be created or registered
Parameters: parent MBean Name of the associated parent component
Throws: Exception if an MBean cannot be created or registered
Parameters: type MBean type
Parameters: name MBean Name of the component to remove
Throws: Exception if a component cannot be removed
Parameters: contextName MBean Name of the comonent to remove
Throws: Exception if a component cannot be removed
Parameters: name MBean Name of the comonent to remove
Throws: Exception if a component cannot be removed
Parameters: name MBean Name of the comonent to remove
Throws: Exception if a component cannot be removed
Parameters: name MBean Name of the comonent to remove
Throws: Exception if a component cannot be removed
Parameters: name MBean Name of the comonent to remove
Throws: Exception if a component cannot be removed
Parameters: name MBean Name of the component to remove
Throws: Exception if a component cannot be removed
Parameters: name MBean Name of the comonent to remove
Throws: Exception if a component cannot be removed