Top Inners Constructors Methods
org.eclipse.jetty.server.jmx

public Class Handler

extends Object
Class Inheritance
Imports
java.util.List, org.eclipse.jetty.jmx.ObjectMBean, org.eclipse.jetty.server.Server, org.eclipse.jetty.server.handler.ContextHandler, org.eclipse.jetty.util.annotation.ManagedObject

Nested and Inner Type Summary

Modifier and TypeClass and Description
public static class

Constructor Summary

AccessConstructor and Description
public

Method Summary

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Constructor Detail

Handlerback to summary
public Handler()
org.eclipse.jetty.server.jmx back to summary

public Class Handler.AbstractMBean

extends ObjectMBean
Class Inheritance
Known Direct Subclasses
org.eclipse.jetty.server.jmx.ServerMBean, org.eclipse.jetty.server.handler.jmx.ContextHandlerMBean, org.eclipse.jetty.server.handler.jmx.QoSHandlerMBean
Annotations
@ManagedObject

Field Summary

Inherited from org.eclipse.jetty.jmx.ObjectMBean:
_managed

Constructor Summary

AccessConstructor and Description
public
AbstractMBean(Object managedObject)

Method Summary

Modifier and TypeMethod and Description
protected String
public Handler.Abstract
public String
getObjectContextBasis()

Overrides org.eclipse.jetty.jmx.ObjectMBean.getObjectContextBasis.

Allows to customize the ObjectName property context.

Inherited from org.eclipse.jetty.jmx.ObjectMBean:
getAttributegetAttributesgetMBeanContainergetMBeanInfogetObjectNamegetObjectNameBasisinvokesetAttributesetAttributessetMBeanContainer

Constructor Detail

AbstractMBeanback to summary
public AbstractMBean(Object managedObject)

Method Detail

getContextNameback to summary
protected String getContextName(ContextHandler context)
getManagedObjectback to summary
public Handler.Abstract getManagedObject()

Overrides org.eclipse.jetty.jmx.ObjectMBean.getManagedObject.

Doc from org.eclipse.jetty.jmx.ObjectMBean.getManagedObject.

Get the managed object.

Returns:Handler.Abstract

the managed object

Annotations
@Override
getObjectContextBasisback to summary
public String getObjectContextBasis()

Overrides org.eclipse.jetty.jmx.ObjectMBean.getObjectContextBasis.

Doc from org.eclipse.jetty.jmx.ObjectMBean.getObjectContextBasis.

Allows to customize the ObjectName property context.

When MBeanContainer creates default ObjectNames, the context property is "inherited" recursively by MBeans that are children of this MBean; this allows to "group" descendant MBeans so that it is clear who is the ancestor they belong to.

For example, if object A has a child component B which has children components C, then AMBean can override this method to return "alpha", and then the ObjectNames will be:

  • domain:type=a,context=alpha,id=0
  • domain:type=b,context=alpha,id=0
  • domain:type=c,context=alpha,id=0
  • domain:type=c,context=alpha,id=1
Returns:String

a custom value for the property context

Annotations
@Override