createAccessLoggerValve
public String createAccessLoggerValve(String parent)
throws Exception
Create a new AccessLoggerValve.
parent
- MBean Name of the associated parent component
createAjpConnector
public String createAjpConnector(String parent,
String address,
int port)
throws Exception
Create a new AjpConnector
parent
- MBean Name of the associated parent componentaddress
- The IP address on which to bindport
- TCP port number to listen on
createDataSourceRealm
public String createDataSourceRealm(String parent,
String dataSourceName,
String roleNameCol,
String userCredCol,
String userNameCol,
String userRoleTable,
String userTable)
throws Exception
Create a new DataSource Realm.
parent
- MBean Name of the associated parent component
createDefaultContext
public String createDefaultContext(String parent)
throws Exception
Create a new DefaultContext.
parent
- MBean Name of the associated parent component
createFileLogger
public String createFileLogger(String parent)
throws Exception
Create a new FileLogger.
parent
- MBean Name of the associated parent component
createHttpConnector
public String createHttpConnector(String parent,
String address,
int port)
throws Exception
Create a new HttpConnector
parent
- MBean Name of the associated parent componentaddress
- The IP address on which to bindport
- TCP port number to listen on
createHttpsConnector
public String createHttpsConnector(String parent,
String address,
int port)
throws Exception
Create a new HttpsConnector
parent
- MBean Name of the associated parent componentaddress
- The IP address on which to bindport
- TCP port number to listen on
createJDBCRealm
public String createJDBCRealm(String parent,
String driverName,
String connectionName,
String connectionPassword,
String connectionURL)
throws Exception
Create a new JDBC Realm.
parent
- MBean Name of the associated parent component
createJNDIRealm
public String createJNDIRealm(String parent)
throws Exception
Create a new JNDI Realm.
parent
- MBean Name of the associated parent component
createMemoryRealm
public String createMemoryRealm(String parent)
throws Exception
Create a new Memory Realm.
parent
- MBean Name of the associated parent component
createRemoteAddrValve
public String createRemoteAddrValve(String parent)
throws Exception
Create a new Remote Address Filter Valve.
parent
- MBean Name of the associated parent component
createRemoteHostValve
public String createRemoteHostValve(String parent)
throws Exception
Create a new Remote Host Filter Valve.
parent
- MBean Name of the associated parent component
createRequestDumperValve
public String createRequestDumperValve(String parent)
throws Exception
Create a new Request Dumper Valve.
parent
- MBean Name of the associated parent component
createSingleSignOn
public String createSingleSignOn(String parent)
throws Exception
Create a new Single Sign On Valve.
parent
- MBean Name of the associated parent component
createStandardContext
public String createStandardContext(String parent,
String path,
String docBase)
throws Exception
Create a new StandardContext.
parent
- MBean Name of the associated parent componentpath
- The context path for this ContextdocBase
- Document base directory (or WAR) for this Context
createStandardContext
public String createStandardContext(String parent,
String path,
String docBase,
boolean xmlValidation,
boolean xmlNamespaceAware,
boolean tldValidation,
boolean tldNamespaceAware)
throws Exception
Create a new StandardContext.
parent
- MBean Name of the associated parent componentpath
- The context path for this ContextdocBase
- Document base directory (or WAR) for this Context
createStandardEngineService
public Vector createStandardEngineService(String parent,
String engineName,
String defaultHost,
String serviceName)
throws Exception
Create a new StandardEngine.
parent
- MBean Name of the associated parent componentdefaultHost
- Default hostname of this Engine
createStandardHost
public String createStandardHost(String parent,
String name,
String appBase,
boolean autoDeploy,
boolean deployXML,
boolean liveDeploy,
boolean unpackWARs,
boolean xmlNamespaceAware,
boolean xmlValidation)
throws Exception
Create a new StandardHost.
parent
- MBean Name of the associated parent componentname
- Unique name of this HostappBase
- Application base directory nameautoDeploy
- Should we auto deploy?deployXML
- Should we deploy Context XML config files property?liveDeploy
- Should we live deploy?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?
createStandardManager
public String createStandardManager(String parent)
throws Exception
Create a new StandardManager.
parent
- MBean Name of the associated parent component
createStandardService
public String createStandardService(String parent,
String name,
String domain)
throws Exception
Create a new StandardService.
parent
- MBean Name of the associated parent componentname
- Unique name of this StandardService
createSystemErrLogger
public String createSystemErrLogger(String parent)
throws Exception
Create a new System Error Logger.
parent
- MBean Name of the associated parent component
createSystemOutLogger
public String createSystemOutLogger(String parent)
throws Exception
Create a new System Output Logger.
parent
- MBean Name of the associated parent component
createUserDatabaseRealm
public String createUserDatabaseRealm(String parent,
String resourceName)
throws Exception
Create a new UserDatabaseRealm.
parent
- MBean Name of the associated parent componentresourceName
- Global JNDI resource name of the associated
UserDatabase
createWebappLoader
public String createWebappLoader(String parent)
throws Exception
Create a new Web Application Loader.
parent
- MBean Name of the associated parent component
findObjectName
public String findObjectName(String type)
Return the managed bean definition for the specified bean type
type
- MBean type
removeConnector
public void removeConnector(String name)
throws Exception
Remove an existing Connector.
name
- MBean Name of the comonent to remove
removeContext
public void removeContext(String contextName)
throws Exception
Remove an existing Context.
removeHost
public void removeHost(String name)
throws Exception
Remove an existing Host.
name
- MBean Name of the comonent to remove
removeLoader
public void removeLoader(String name)
throws Exception
Remove an existing Loader.
name
- MBean Name of the comonent to remove
removeLogger
public void removeLogger(String name)
throws Exception
Remove an existing Logger.
name
- MBean Name of the comonent to remove
removeManager
public void removeManager(String name)
throws Exception
Remove an existing Manager.
name
- MBean Name of the comonent to remove
removeRealm
public void removeRealm(String name)
throws Exception
Remove an existing Realm.
name
- MBean Name of the comonent to remove
removeService
public void removeService(String name)
throws Exception
Remove an existing Service.
name
- MBean Name of the component to remove
removeValve
public void removeValve(String name)
throws Exception
Remove an existing Valve.
name
- MBean Name of the comonent to remove