public class HttpServerMBean extends LifeCycleMBean implements ComponentListener
_beanInfo, IMPACT_ACTION, IMPACT_ACTION_INFO, IMPACT_INFO, IMPACT_UNKOWN, INT, NO_PARAMS, OBJECT, ON_MBEAN, ON_OBJECT, READ_ONLY, READ_WRITE, STRING
Modifier | Constructor and Description |
---|---|
|
HttpServerMBean()
Constructor.
|
protected |
HttpServerMBean(HttpServer httpServer)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
addComponent(ComponentEvent event) |
protected void |
defineManagedResource()
Define the Managed Resource.
|
ObjectName[] |
getComponents() |
String |
getVersion() |
void |
postDeregister()
Post Deregister.
|
void |
postRegister(Boolean ok) |
void |
removeComponent(ComponentEvent event) |
void |
setManagedResource(Object o,
String s) |
addAttributeChangeNotificationListener, addNotificationListener, defineAttribute, defineAttribute, defineAttribute, defineAttribute, defineOperation, defineOperation, defineOperation, defineOperation, destroyComponentMBeans, getAttribute, getAttributes, getBaseObjectName, getComponentMBeans, getDefaultDomain, getManagedResource, getMBeanInfo, getMBeanServer, getNotificationInfo, getObjectName, invoke, load, mbeanFor, newObjectName, preDeregister, preRegister, removeAttributeChangeNotificationListener, removeNotificationListener, sendAttributeChangeNotification, sendAttributeChangeNotification, sendNotification, sendNotification, setAttribute, setAttributes, setBaseObjectName, setDefaultDomain, setModelMBeanInfo, store, uniqueObjectName, uniqueObjectName
protected HttpServerMBean(HttpServer httpServer) throws MBeanException, InstanceNotFoundException
public HttpServerMBean() throws MBeanException, InstanceNotFoundException
public void setManagedResource(Object o, String s) throws MBeanException, InstanceNotFoundException, InvalidTargetObjectTypeException
setManagedResource
in interface ModelMBean
setManagedResource
in class ModelMBeanImpl
MBeanException
InstanceNotFoundException
InvalidTargetObjectTypeException
protected void defineManagedResource()
ModelMBeanImpl
defineManagedResource
in class LifeCycleMBean
public void addComponent(ComponentEvent event)
addComponent
in interface ComponentListener
public String getVersion()
public ObjectName[] getComponents()
public void removeComponent(ComponentEvent event)
removeComponent
in interface ComponentListener
public void postRegister(Boolean ok)
postRegister
in interface MBeanRegistration
postRegister
in class ModelMBeanImpl
ok
- public void postDeregister()
ModelMBeanImpl
postDeregister
in interface MBeanRegistration
postDeregister
in class ModelMBeanImpl
Copyright © 2016. All Rights Reserved.