@ManagedObject("MBean Wrapper for Connectors") public class AbstractConnectorMBean extends ObjectMBean
_managed
Constructor | Description |
---|---|
AbstractConnectorMBean(java.lang.Object managedObject) |
Modifier and Type | Method | Description |
---|---|---|
java.lang.String |
getObjectContextBasis() |
Allows to customize the ObjectName property
context . |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getAttribute, getAttributes, getManagedObject, getMBeanContainer, getMBeanInfo, getObjectName, getObjectNameBasis, invoke, isAnnotationPresent, mbeanFor, setAttribute, setAttributes, setMBeanContainer, toVariableName
public AbstractConnectorMBean(java.lang.Object managedObject)
public java.lang.String getObjectContextBasis()
ObjectMBean
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:
getObjectContextBasis
in class ObjectMBean
context
Copyright © 1995–2018 Webtide. All rights reserved.