Class ServerMBean
java.lang.Object
org.eclipse.jetty.jmx.ObjectMBean
org.eclipse.jetty.server.jmx.Handler.AbstractMBean
org.eclipse.jetty.server.jmx.ServerMBean
- All Implemented Interfaces:
 DynamicMBean
- 
Field Summary
Fields inherited from class ObjectMBean
_managed - 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionGet the managed object.Allows to customize the ObjectName propertycontext.Allows to customize the ObjectName propertyname.Methods inherited from class ObjectMBean
getAttribute, getAttributes, getMBeanContainer, getMBeanInfo, getObjectName, invoke, setAttribute, setAttributes, setMBeanContainer 
- 
Constructor Details
- 
ServerMBean
 
 - 
 - 
Method Details
- 
getManagedObject
Description copied from class:ObjectMBeanGet the managed object.- Overrides:
 getManagedObjectin classHandler.AbstractMBean- Returns:
 - the managed object
 
 - 
getObjectNameBasis
Description copied from class:ObjectMBeanAllows to customize the ObjectName property
name.Certain components have a natural name and returning it from this method allows it to be part of the ObjectName.
- Overrides:
 getObjectNameBasisin classObjectMBean- Returns:
 - a custom value for the property 
name 
 - 
getObjectContextBasis
Description copied from class:ObjectMBeanAllows to customize the ObjectName property
context.When
MBeanContainercreates default ObjectNames, thecontextproperty 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
 
- Overrides:
 getObjectContextBasisin classObjectMBean- Returns:
 - a custom value for the property 
context 
 - 
getContexts
 - 
getStartupTime
 - 
getUpTime
 
 -