config-manager: final parameters
[controller.git] / opendaylight / config / config-manager / src / main / java / org / opendaylight / controller / config / manager / impl / dynamicmbean / DynamicReadableWrapper.java
index 7d3cb277fb2405cf59b81a9b73d0896575eac0c7..1a43d6f8842229671fb7a52439f938bf5d03a9eb 100644 (file)
@@ -14,7 +14,6 @@ import javax.management.InvalidAttributeValueException;
 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;
@@ -34,9 +33,9 @@ public class DynamicReadableWrapper extends AbstractDynamicWrapper implements
      *            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);
@@ -54,7 +53,7 @@ public class DynamicReadableWrapper extends AbstractDynamicWrapper implements
     }
 
     @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)
@@ -65,7 +64,7 @@ public class DynamicReadableWrapper extends AbstractDynamicWrapper implements
     }
 
     @Override
-    public Object getAttribute(String attributeName)
+    public Object getAttribute(final String attributeName)
             throws AttributeNotFoundException, MBeanException,
             ReflectionException {
         if ("getInstance".equals(attributeName)) {
@@ -75,7 +74,7 @@ public class DynamicReadableWrapper extends AbstractDynamicWrapper implements
     }
 
     @Override
-    public void setAttribute(Attribute attribute)
+    public void setAttribute(final Attribute attribute)
             throws AttributeNotFoundException, InvalidAttributeValueException,
             MBeanException, ReflectionException {
         throw new UnsupportedOperationException(
@@ -83,7 +82,7 @@ public class DynamicReadableWrapper extends AbstractDynamicWrapper implements
     }
 
     @Override
-    public AttributeList setAttributes(AttributeList attributes) {
+    public AttributeList setAttributes(final AttributeList attributes) {
         throw new UnsupportedOperationException(
                 "setAttributes is not supported on " + moduleIdentifier);
     }