public abstract class AbstractDynamicWrapper extends Object implements DynamicMBeanModuleWrapper
| Modifier and Type | Field and Description |
|---|---|
protected Map<String,org.opendaylight.controller.config.manager.impl.dynamicmbean.AttributeHolder> |
attributeHolderMap |
protected MBeanServer |
internalServer |
protected Module |
module |
protected ModuleIdentifier |
moduleIdentifier |
protected ObjectName |
objectNameInternal |
| Constructor and Description |
|---|
AbstractDynamicWrapper(Module module,
boolean writable,
ModuleIdentifier moduleIdentifier,
ObjectName thisWrapperObjectName,
MBeanOperationInfo[] operations,
MBeanServer internalServer,
MBeanServer configMBeanServer) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object other) |
protected ObjectName |
fixObjectName(ObjectName on) |
Object |
getAttribute(String attributeName) |
AttributeList |
getAttributes(String[] attributes) |
protected static MBeanOperationInfo[] |
getEmptyOperations() |
MBeanInfo |
getMBeanInfo() |
int |
hashCode() |
Object |
invoke(String actionName,
Object[] params,
String[] signature) |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitsetAttribute, setAttributesprotected final Module module
protected final ObjectName objectNameInternal
protected final Map<String,org.opendaylight.controller.config.manager.impl.dynamicmbean.AttributeHolder> attributeHolderMap
protected final ModuleIdentifier moduleIdentifier
protected final MBeanServer internalServer
public AbstractDynamicWrapper(Module module, boolean writable, ModuleIdentifier moduleIdentifier, ObjectName thisWrapperObjectName, MBeanOperationInfo[] operations, MBeanServer internalServer, MBeanServer configMBeanServer)
protected static MBeanOperationInfo[] getEmptyOperations()
public MBeanInfo getMBeanInfo()
getMBeanInfo in interface DynamicMBeanpublic Object getAttribute(String attributeName) throws AttributeNotFoundException, MBeanException, ReflectionException
getAttribute in interface DynamicMBeanAttributeNotFoundExceptionMBeanExceptionReflectionExceptionprotected ObjectName fixObjectName(ObjectName on)
public AttributeList getAttributes(String[] attributes)
getAttributes in interface DynamicMBeanpublic Object invoke(String actionName, Object[] params, String[] signature) throws MBeanException, ReflectionException
invoke in interface DynamicMBeanMBeanExceptionReflectionExceptionCopyright © 2019 OpenDaylight. All rights reserved.