|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.openqa.jetty.util.jmx.ModelMBeanImpl org.openqa.jetty.util.jmx.LifeCycleMBean org.openqa.jetty.http.jmx.HttpServerMBean org.openqa.jetty.jetty.jmx.ServerMBean
public class ServerMBean
JettyServer 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 | |
---|---|
ServerMBean()
Constructor. |
|
ServerMBean(Server jettyServer)
Constructor. |
|
ServerMBean(java.lang.String configuration)
Constructor. |
Method Summary | |
---|---|
protected void |
defineManagedResource()
Define the Managed Resource. |
protected javax.management.ObjectName |
newObjectName(javax.management.MBeanServer server)
Create a new ObjectName. |
void |
postDeregister()
Post Deregister. |
void |
postRegister(java.lang.Boolean ok)
|
Methods inherited from class org.openqa.jetty.http.jmx.HttpServerMBean |
---|
addComponent, getComponents, getVersion, removeComponent, setManagedResource |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ServerMBean(Server jettyServer) throws javax.management.MBeanException, javax.management.InstanceNotFoundException
javax.management.MBeanException
javax.management.InstanceNotFoundException
public ServerMBean() throws javax.management.MBeanException, javax.management.InstanceNotFoundException
javax.management.MBeanException
javax.management.InstanceNotFoundException
public ServerMBean(java.lang.String configuration) throws java.io.IOException, javax.management.MBeanException, javax.management.InstanceNotFoundException
configuration
- URL or File to jetty.xml style configuration file
java.io.IOException
javax.management.MBeanException
javax.management.InstanceNotFoundException
Method Detail |
---|
protected javax.management.ObjectName newObjectName(javax.management.MBeanServer server)
ModelMBeanImpl
newObjectName
in class ModelMBeanImpl
protected void defineManagedResource()
ModelMBeanImpl
defineManagedResource
in class HttpServerMBean
public void postRegister(java.lang.Boolean ok)
postRegister
in interface javax.management.MBeanRegistration
postRegister
in class HttpServerMBean
ok
- public void postDeregister()
ModelMBeanImpl
postDeregister
in interface javax.management.MBeanRegistration
postDeregister
in class HttpServerMBean
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |