Package org.eclipse.jetty.server.jmx
Class AbstractConnectorMBean
- java.lang.Object
-
- org.eclipse.jetty.jmx.ObjectMBean
-
- org.eclipse.jetty.server.jmx.AbstractConnectorMBean
-
- All Implemented Interfaces:
javax.management.DynamicMBean
@ManagedObject("MBean Wrapper for Connectors") @Deprecated(since="2021-05-27") public class AbstractConnectorMBean extends ObjectMBean
Deprecated.
-
-
Constructor Summary
Constructors Constructor Description AbstractConnectorMBean(java.lang.Object managedObject)
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description java.lang.String
getObjectContextBasis()
Deprecated.Allows to customize the ObjectName propertycontext
.-
Methods inherited from class org.eclipse.jetty.jmx.ObjectMBean
getAttribute, getAttributes, getManagedObject, getMBeanContainer, getMBeanInfo, getObjectName, getObjectNameBasis, invoke, mbeanFor, setAttribute, setAttributes
-
-
-
-
Method Detail
-
getObjectContextBasis
public java.lang.String getObjectContextBasis()
Deprecated.Description copied from class:ObjectMBean
Allows to customize the ObjectName property
context
.When
MBeanContainer
creates default ObjectNames, thecontext
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
- Overrides:
getObjectContextBasis
in classObjectMBean
- Returns:
- a custom value for the property
context
-
-