|
||||||||||
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
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(String configuration)
Constructor. |
Method Summary | |
---|---|
protected void |
defineManagedResource()
Define the Managed Resource. |
protected ObjectName |
newObjectName(MBeanServer server)
Create a new ObjectName. |
void |
postDeregister()
Post Deregister. |
void |
postRegister(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 MBeanException, InstanceNotFoundException
MBeanException
InstanceNotFoundException
public ServerMBean() throws MBeanException, InstanceNotFoundException
MBeanException
InstanceNotFoundException
public ServerMBean(String configuration) throws IOException, MBeanException, InstanceNotFoundException
configuration
- URL or File to jetty.xml style configuration file
IOException
MBeanException
InstanceNotFoundException
Method Detail |
---|
protected ObjectName newObjectName(MBeanServer server)
ModelMBeanImpl
newObjectName
in class ModelMBeanImpl
protected void defineManagedResource()
ModelMBeanImpl
defineManagedResource
in class HttpServerMBean
public void postRegister(Boolean ok)
postRegister
in interface MBeanRegistration
postRegister
in class HttpServerMBean
ok
- public void postDeregister()
ModelMBeanImpl
postDeregister
in interface MBeanRegistration
postDeregister
in class HttpServerMBean
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |