| java.lang.Object org.apache.tomcat.util.modeler.BaseModelMBean org.apache.catalina.mbeans.NamingResourcesMBean
NamingResourcesMBean | public class NamingResourcesMBean extends BaseModelMBean (Code) | | A ModelMBean implementation for the
org.apache.catalina.deploy.NamingResources component.
author: Amy Roh version: $Revision: 467222 $ $Date: 2006-10-24 05:17:11 +0200 (mar., 24 oct. 2006) $ |
Field Summary | |
protected ManagedBean | managed The ManagedBean information describing this MBean. | protected Registry | registry The configuration information registry for our managed beans. |
Constructor Summary | |
public | NamingResourcesMBean() Construct a ModelMBean with default
ModelMBeanInfo information. |
managed | protected ManagedBean managed(Code) | | The ManagedBean information describing this MBean.
|
registry | protected Registry registry(Code) | | The configuration information registry for our managed beans.
|
addEnvironment | public String addEnvironment(String envName, String type, String value) throws MalformedObjectNameException(Code) | | Add an environment entry for this web application.
Parameters: envName - New environment entry name Parameters: type - The type of the new environment entry Parameters: value - The value of the new environment entry |
addResource | public String addResource(String resourceName, String type) throws MalformedObjectNameException(Code) | | Add a resource reference for this web application.
Parameters: resourceName - New resource reference name Parameters: type - New resource reference type |
addResourceLink | public String addResourceLink(String resourceLinkName, String type) throws MalformedObjectNameException(Code) | | Add a resource link reference for this web application.
Parameters: resourceLinkName - New resource link reference name Parameters: type - New resource link reference type |
getEnvironments | public String[] getEnvironments()(Code) | | Return the MBean Names of the set of defined environment entries for
this web application
|
getResourceLinks | public String[] getResourceLinks()(Code) | | Return the MBean Names of all the defined resource link references for
this application.
|
getResources | public String[] getResources()(Code) | | Return the MBean Names of all the defined resource references for this
application.
|
removeEnvironment | public void removeEnvironment(String envName)(Code) | | Remove any environment entry with the specified name.
Parameters: envName - Name of the environment entry to remove |
removeResource | public void removeResource(String resourceName)(Code) | | Remove any resource reference with the specified name.
Parameters: resourceName - Name of the resource reference to remove |
removeResourceLink | public void removeResourceLink(String resourceLinkName)(Code) | | Remove any resource link reference with the specified name.
Parameters: resourceLinkName - Name of the resource link reference to remove |
Methods inherited from org.apache.tomcat.util.modeler.BaseModelMBean | public void addAttributeChangeNotificationListener(NotificationListener listener, String name, Object handback) throws IllegalArgumentException(Code)(Java Doc) public void addNotificationListener(NotificationListener listener, NotificationFilter filter, Object handback) throws IllegalArgumentException(Code)(Java Doc) public Object getAttribute(String name) throws AttributeNotFoundException, MBeanException, ReflectionException(Code)(Java Doc) public AttributeList getAttributes(String names)(Code)(Java Doc) public String getClassName()(Code)(Java Doc) public ObjectName getJmxName()(Code)(Java Doc) public MBeanInfo getMBeanInfo()(Code)(Java Doc) public Object getManagedResource() throws InstanceNotFoundException, InvalidTargetObjectTypeException, MBeanException, RuntimeOperationsException(Code)(Java Doc) public String getModelerType()(Code)(Java Doc) public MBeanNotificationInfo[] getNotificationInfo()(Code)(Java Doc) public String getObjectName()(Code)(Java Doc) public Object invoke(String name, Object params, String signature) throws MBeanException, ReflectionException(Code)(Java Doc) public void postDeregister()(Code)(Java Doc) public void postRegister(Boolean registrationDone)(Code)(Java Doc) public void preDeregister() throws Exception(Code)(Java Doc) public ObjectName preRegister(MBeanServer server, ObjectName name) throws Exception(Code)(Java Doc) public void removeAttributeChangeNotificationListener(NotificationListener listener, String name) throws ListenerNotFoundException(Code)(Java Doc) public void removeAttributeChangeNotificationListener(NotificationListener listener, String attributeName, Object handback) throws ListenerNotFoundException(Code)(Java Doc) public void removeNotificationListener(NotificationListener listener) throws ListenerNotFoundException(Code)(Java Doc) public void removeNotificationListener(NotificationListener listener, Object handback) throws ListenerNotFoundException(Code)(Java Doc) public void removeNotificationListener(NotificationListener listener, NotificationFilter filter, Object handback) throws ListenerNotFoundException(Code)(Java Doc) public void sendAttributeChangeNotification(AttributeChangeNotification notification) throws MBeanException, RuntimeOperationsException(Code)(Java Doc) public void sendAttributeChangeNotification(Attribute oldValue, Attribute newValue) throws MBeanException, RuntimeOperationsException(Code)(Java Doc) public void sendNotification(Notification notification) throws MBeanException, RuntimeOperationsException(Code)(Java Doc) public void sendNotification(String message) throws MBeanException, RuntimeOperationsException(Code)(Java Doc) public void setAttribute(Attribute attribute) throws AttributeNotFoundException, MBeanException, ReflectionException(Code)(Java Doc) public AttributeList setAttributes(AttributeList attributes)(Code)(Java Doc) public void setManagedBean(ManagedBean managedBean)(Code)(Java Doc) public void setManagedResource(Object resource, String type) throws InstanceNotFoundException, MBeanException, RuntimeOperationsException(Code)(Java Doc) public String toString()(Code)(Java Doc)
|
|
|