import javax.management.MBeanException;
import javax.management.MBeanServer;
import javax.management.ReflectionException;
-
import org.opendaylight.controller.config.api.DynamicMBeanWithInstance;
import org.opendaylight.controller.config.api.ModuleIdentifier;
import org.opendaylight.controller.config.api.jmx.ObjectNameUtil;
* for recreating Module.
*
*/
- public DynamicReadableWrapper(Module module, AutoCloseable instance,
- ModuleIdentifier moduleIdentifier, MBeanServer internalServer,
- MBeanServer configMBeanServer) {
+ public DynamicReadableWrapper(final Module module, final AutoCloseable instance,
+ final ModuleIdentifier moduleIdentifier, final MBeanServer internalServer,
+ final MBeanServer configMBeanServer) {
super(module, false, moduleIdentifier, ObjectNameUtil
.createReadOnlyModuleON(moduleIdentifier),
getEmptyOperations(), internalServer, configMBeanServer);
}
@Override
- public Object invoke(String actionName, Object[] params, String[] signature)
+ public Object invoke(final String actionName, final Object[] params, final String[] signature)
throws MBeanException, ReflectionException {
if ("getInstance".equals(actionName)
&& (params == null || params.length == 0)
}
@Override
- public Object getAttribute(String attributeName)
+ public Object getAttribute(final String attributeName)
throws AttributeNotFoundException, MBeanException,
ReflectionException {
if ("getInstance".equals(attributeName)) {
}
@Override
- public void setAttribute(Attribute attribute)
+ public void setAttribute(final Attribute attribute)
throws AttributeNotFoundException, InvalidAttributeValueException,
MBeanException, ReflectionException {
throw new UnsupportedOperationException(
}
@Override
- public AttributeList setAttributes(AttributeList attributes) {
+ public AttributeList setAttributes(final AttributeList attributes) {
throw new UnsupportedOperationException(
"setAttributes is not supported on " + moduleIdentifier);
}