org.mortbay.jetty.plus.jmx

Class ServerMBean

public class ServerMBean extends ServerMBean

JettyPlus Server 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.

Version: $Revision: 1.6 $

Author: Greg Wilkins (gregw)

Constructor Summary
protected ServerMBean(Server jettyServer)
Constructor.
ServerMBean()
Constructor.
ServerMBean(String configuration)
Constructor.
Method Summary
protected voiddefineManagedResource()
protected ObjectNamenewObjectName(MBeanServer server)
voidpostDeregister()
voidpostRegister(Boolean ok)

Constructor Detail

ServerMBean

protected ServerMBean(Server jettyServer)
Constructor.

Throws: MBeanException InstanceNotFoundException

ServerMBean

public ServerMBean()
Constructor.

Throws: MBeanException InstanceNotFoundException

ServerMBean

public ServerMBean(String configuration)
Constructor.

Parameters: configuration URL or File to jetty.xml style configuration file

Throws: IOException MBeanException InstanceNotFoundException

Method Detail

defineManagedResource

protected void defineManagedResource()

newObjectName

protected ObjectName newObjectName(MBeanServer server)

postDeregister

public void postDeregister()

postRegister

public void postRegister(Boolean ok)

Parameters: ok

Copyright © 2004 Mortbay Consulting Pty. Ltd. All Rights Reserved.