org.mortbay.http.jmx
Class HttpServerMBean
- ComponentListener, EventListener, MBeanRegistration, ModelMBean
public class HttpServerMBean
HttpServer MBean.
This Model MBean class provides the mapping for HttpServer
management methods. It also registers itself as a membership
listener of the HttpServer, so it can create and destroy MBean
wrappers for listeners and contexts.
IMPACT_ACTION , IMPACT_ACTION_INFO , IMPACT_INFO , IMPACT_UNKOWN , INT , NO_PARAMS , OBJECT , ON_MBEAN , ON_OBJECT , READ_ONLY , READ_WRITE , STRING , _beanInfo |
addAttributeChangeNotificationListener , addNotificationListener , defineAttribute , defineAttribute , defineAttribute , defineAttribute , defineManagedResource , defineOperation , defineOperation , defineOperation , defineOperation , destroyComponentMBeans , getAttribute , getAttributes , getBaseObjectName , getComponentMBeans , getDefaultDomain , getMBeanInfo , getMBeanServer , getManagedResource , getNotificationInfo , getObjectName , invoke , load , mbeanFor , newObjectName , postDeregister , postRegister , preDeregister , preRegister , removeAttributeChangeNotificationListener , removeNotificationListener , sendAttributeChangeNotification , sendAttributeChangeNotification , sendNotification , sendNotification , setAttribute , setAttributes , setBaseObjectName , setDefaultDomain , setManagedResource , setModelMBeanInfo , store , uniqueObjectName , uniqueObjectName |
HttpServerMBean
public HttpServerMBean()
throws MBeanException,
InstanceNotFoundException
Constructor.
HttpServerMBean
protected HttpServerMBean(HttpServer httpServer)
throws MBeanException,
InstanceNotFoundException
Constructor.
defineManagedResource
protected void defineManagedResource()
Define the Managed Resource.
This method is called the first time setManagedResource is
called with a non-null object. It should be implemented by a
derived ModelMBean to define the attributes and operations
after an initial object has been set.
- defineManagedResource in interface LifeCycleMBean
getComponents
public ObjectName[] getComponents()
getVersion
public String getVersion()
postDeregister
public void postDeregister()
Post Deregister.
This implementation destroys this MBean and it cannot be used again.
- postDeregister in interface ModelMBeanImpl
setManagedResource
public void setManagedResource(Object o,
String s)
throws MBeanException,
InstanceNotFoundException,
InvalidTargetObjectTypeException
- setManagedResource in interface ModelMBeanImpl
Copyright © 2004 Mortbay Consulting Pty. Ltd. All Rights Reserved.