|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.openqa.jetty.util.jmx.ModelMBeanImpl
org.openqa.jetty.util.jmx.LifeCycleMBean
org.openqa.jetty.http.jmx.HttpServerMBean
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.
Field Summary |
---|
Fields inherited from class org.openqa.jetty.util.jmx.ModelMBeanImpl |
---|
_beanInfo, IMPACT_ACTION, IMPACT_ACTION_INFO, IMPACT_INFO, IMPACT_UNKOWN, INT, NO_PARAMS, OBJECT, ON_MBEAN, ON_OBJECT, READ_ONLY, READ_WRITE, STRING |
Constructor Summary | |
---|---|
|
HttpServerMBean()
Constructor. |
protected |
HttpServerMBean(HttpServer httpServer)
Constructor. |
Method Summary | |
---|---|
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)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
protected HttpServerMBean(HttpServer httpServer) throws MBeanException, InstanceNotFoundException
MBeanException
InstanceNotFoundException
public HttpServerMBean() throws MBeanException, InstanceNotFoundException
MBeanException
InstanceNotFoundException
Method Detail |
---|
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
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |