|
|
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.commons.modeler.BaseModelMBean
org.apache.catalina.mbeans.MBeanFactory
A ModelMBean implementation for the
org.apache.catalina.core.StandardServer
component.
Field Summary |
Fields inherited from class org.apache.commons.modeler.BaseModelMBean |
attributeBroadcaster, attributes, generalBroadcaster, info, oname, resource, resourceType, source |
Constructor Summary | |
MBeanFactory()
Construct a ModelMBean with default
ModelMBeanInfo information. |
Method Summary | |
java.lang.String |
createAccessLoggerValve(java.lang.String parent)
Create a new AccessLoggerValve. |
java.lang.String |
createAjpConnector(java.lang.String parent,
java.lang.String address,
int port)
Create a new AjpConnector |
java.lang.String |
createDefaultContext(java.lang.String parent)
Create a new DefaultContext. |
java.lang.String |
createFileLogger(java.lang.String parent)
Create a new FileLogger. |
java.lang.String |
createHttpConnector(java.lang.String parent,
java.lang.String address,
int port)
Create a new HttpConnector |
java.lang.String |
createHttpsConnector(java.lang.String parent,
java.lang.String address,
int port)
Create a new HttpsConnector |
java.lang.String |
createJDBCRealm(java.lang.String parent)
Create a new JDBC Realm. |
java.lang.String |
createJNDIRealm(java.lang.String parent)
Create a new JNDI Realm. |
java.lang.String |
createMemoryRealm(java.lang.String parent)
Create a new Memory Realm. |
java.lang.String |
createRemoteAddrValve(java.lang.String parent)
Create a new Remote Address Filter Valve. |
java.lang.String |
createRemoteHostValve(java.lang.String parent)
Create a new Remote Host Filter Valve. |
java.lang.String |
createRequestDumperValve(java.lang.String parent)
Create a new Request Dumper Valve. |
java.lang.String |
createSingleSignOn(java.lang.String parent)
Create a new Single Sign On Valve. |
java.lang.String |
createStandardContext(java.lang.String parent,
java.lang.String path,
java.lang.String docBase)
Create a new StandardContext. |
java.lang.String |
createStandardEngine(java.lang.String parent,
java.lang.String name,
java.lang.String defaultHost)
Create a new StandardEngine. |
java.lang.String |
createStandardHost(java.lang.String parent,
java.lang.String name,
java.lang.String appBase,
boolean autoDeploy,
boolean deployXML,
boolean liveDeploy,
boolean unpackWARs)
Create a new StandardHost. |
java.lang.String |
createStandardManager(java.lang.String parent)
Create a new StandardManager. |
java.lang.String |
createStandardService(java.lang.String parent,
java.lang.String name)
Create a new StandardService. |
java.lang.String |
createSystemErrLogger(java.lang.String parent)
Create a new System Error Logger. |
java.lang.String |
createSystemOutLogger(java.lang.String parent)
Create a new System Output Logger. |
java.lang.String |
createUserDatabaseRealm(java.lang.String parent,
java.lang.String resourceName)
Create a new UserDatabaseRealm. |
java.lang.String |
createWebappLoader(java.lang.String parent)
Create a new Web Application Loader. |
java.lang.String |
findObjectName(java.lang.String type)
Return the managed bean definition for the specified bean type |
void |
removeConnector(java.lang.String name)
Remove an existing Connector. |
void |
removeContext(java.lang.String name)
Remove an existing Context. |
void |
removeHost(java.lang.String name)
Remove an existing Host. |
void |
removeLoader(java.lang.String name)
Remove an existing Loader. |
void |
removeLogger(java.lang.String name)
Remove an existing Logger. |
void |
removeManager(java.lang.String name)
Remove an existing Manager. |
void |
removeRealm(java.lang.String name)
Remove an existing Realm. |
void |
removeService(java.lang.String name)
Remove an existing Service. |
void |
removeValve(java.lang.String name)
Remove an existing Valve. |
Methods inherited from class org.apache.commons.modeler.BaseModelMBean |
addAttributeChangeNotificationListener, addNotificationListener, createDefaultModelMBeanInfo, createResource, getAttribute, getAttributes, getClassName, getManagedResource, getMBeanInfo, getModelerType, getNotificationInfo, getObjectName, getRegistry, initModelInfo, invoke, isModelMBeanInfoValid, load, postDeregister, postRegister, preDeregister, preRegister, removeAttributeChangeNotificationListener, removeAttributeChangeNotificationListener, removeNotificationListener, removeNotificationListener, removeNotificationListener, sendAttributeChangeNotification, sendAttributeChangeNotification, sendNotification, sendNotification, setAttribute, setAttributes, setManagedResource, setModeledType, setModelMBeanInfo, setRegistry, store, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public MBeanFactory() throws javax.management.MBeanException, javax.management.RuntimeOperationsException
ModelMBean
with default
ModelMBeanInfo
information.
javax.management.MBeanException
- if the initializer of an object
throws an exception
javax.management.RuntimeOperationsException
- if an IllegalArgumentException
occursMethod Detail |
public java.lang.String findObjectName(java.lang.String type)
type
- MBean typepublic java.lang.String createAccessLoggerValve(java.lang.String parent) throws java.lang.Exception
parent
- MBean Name of the associated parent component
java.lang.Exception
- if an MBean cannot be created or registeredpublic java.lang.String createAjpConnector(java.lang.String parent, java.lang.String address, int port) throws java.lang.Exception
parent
- MBean Name of the associated parent componentaddress
- The IP address on which to bindport
- TCP port number to listen on
java.lang.Exception
- if an MBean cannot be created or registeredpublic java.lang.String createDefaultContext(java.lang.String parent) throws java.lang.Exception
parent
- MBean Name of the associated parent component
java.lang.Exception
- if an MBean cannot be created or registeredpublic java.lang.String createFileLogger(java.lang.String parent) throws java.lang.Exception
parent
- MBean Name of the associated parent component
java.lang.Exception
- if an MBean cannot be created or registeredpublic java.lang.String createHttpConnector(java.lang.String parent, java.lang.String address, int port) throws java.lang.Exception
parent
- MBean Name of the associated parent componentaddress
- The IP address on which to bindport
- TCP port number to listen on
java.lang.Exception
- if an MBean cannot be created or registeredpublic java.lang.String createHttpsConnector(java.lang.String parent, java.lang.String address, int port) throws java.lang.Exception
parent
- MBean Name of the associated parent componentaddress
- The IP address on which to bindport
- TCP port number to listen on
java.lang.Exception
- if an MBean cannot be created or registeredpublic java.lang.String createJDBCRealm(java.lang.String parent) throws java.lang.Exception
parent
- MBean Name of the associated parent component
java.lang.Exception
- if an MBean cannot be created or registeredpublic java.lang.String createJNDIRealm(java.lang.String parent) throws java.lang.Exception
parent
- MBean Name of the associated parent component
java.lang.Exception
- if an MBean cannot be created or registeredpublic java.lang.String createMemoryRealm(java.lang.String parent) throws java.lang.Exception
parent
- MBean Name of the associated parent component
java.lang.Exception
- if an MBean cannot be created or registeredpublic java.lang.String createRemoteAddrValve(java.lang.String parent) throws java.lang.Exception
parent
- MBean Name of the associated parent component
java.lang.Exception
- if an MBean cannot be created or registeredpublic java.lang.String createRemoteHostValve(java.lang.String parent) throws java.lang.Exception
parent
- MBean Name of the associated parent component
java.lang.Exception
- if an MBean cannot be created or registeredpublic java.lang.String createRequestDumperValve(java.lang.String parent) throws java.lang.Exception
parent
- MBean Name of the associated parent component
java.lang.Exception
- if an MBean cannot be created or registeredpublic java.lang.String createSingleSignOn(java.lang.String parent) throws java.lang.Exception
parent
- MBean Name of the associated parent component
java.lang.Exception
- if an MBean cannot be created or registeredpublic java.lang.String createStandardContext(java.lang.String parent, java.lang.String path, java.lang.String docBase) throws java.lang.Exception
parent
- MBean Name of the associated parent componentpath
- The context path for this ContextdocBase
- Document base directory (or WAR) for this Context
java.lang.Exception
- if an MBean cannot be created or registeredpublic java.lang.String createStandardEngine(java.lang.String parent, java.lang.String name, java.lang.String defaultHost) throws java.lang.Exception
parent
- MBean Name of the associated parent componentname
- Unique name of this EnginedefaultHost
- Default hostname of this Engine
java.lang.Exception
- if an MBean cannot be created or registeredpublic java.lang.String createStandardHost(java.lang.String parent, java.lang.String name, java.lang.String appBase, boolean autoDeploy, boolean deployXML, boolean liveDeploy, boolean unpackWARs) throws java.lang.Exception
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?
java.lang.Exception
- if an MBean cannot be created or registeredpublic java.lang.String createStandardManager(java.lang.String parent) throws java.lang.Exception
parent
- MBean Name of the associated parent component
java.lang.Exception
- if an MBean cannot be created or registeredpublic java.lang.String createStandardService(java.lang.String parent, java.lang.String name) throws java.lang.Exception
parent
- MBean Name of the associated parent componentname
- Unique name of this StandardService
java.lang.Exception
- if an MBean cannot be created or registeredpublic java.lang.String createSystemErrLogger(java.lang.String parent) throws java.lang.Exception
parent
- MBean Name of the associated parent component
java.lang.Exception
- if an MBean cannot be created or registeredpublic java.lang.String createSystemOutLogger(java.lang.String parent) throws java.lang.Exception
parent
- MBean Name of the associated parent component
java.lang.Exception
- if an MBean cannot be created or registeredpublic java.lang.String createUserDatabaseRealm(java.lang.String parent, java.lang.String resourceName) throws java.lang.Exception
parent
- MBean Name of the associated parent componentresourceName
- Global JNDI resource name of the associated
UserDatabase
java.lang.Exception
- if an MBean cannot be created or registeredpublic java.lang.String createWebappLoader(java.lang.String parent) throws java.lang.Exception
parent
- MBean Name of the associated parent component
java.lang.Exception
- if an MBean cannot be created or registeredpublic void removeConnector(java.lang.String name) throws java.lang.Exception
name
- MBean Name of the comonent to remove
java.lang.Exception
- if a component cannot be removedpublic void removeContext(java.lang.String name) throws java.lang.Exception
name
- MBean Name of the comonent to remove
java.lang.Exception
- if a component cannot be removedpublic void removeHost(java.lang.String name) throws java.lang.Exception
name
- MBean Name of the comonent to remove
java.lang.Exception
- if a component cannot be removedpublic void removeLogger(java.lang.String name) throws java.lang.Exception
name
- MBean Name of the comonent to remove
java.lang.Exception
- if a component cannot be removedpublic void removeLoader(java.lang.String name) throws java.lang.Exception
name
- MBean Name of the comonent to remove
java.lang.Exception
- if a component cannot be removedpublic void removeManager(java.lang.String name) throws java.lang.Exception
name
- MBean Name of the comonent to remove
java.lang.Exception
- if a component cannot be removedpublic void removeRealm(java.lang.String name) throws java.lang.Exception
name
- MBean Name of the comonent to remove
java.lang.Exception
- if a component cannot be removedpublic void removeService(java.lang.String name) throws java.lang.Exception
name
- MBean Name of the component to remove
java.lang.Exception
- if a component cannot be removedpublic void removeValve(java.lang.String name) throws java.lang.Exception
name
- MBean Name of the comonent to remove
java.lang.Exception
- if a component cannot be removed
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |