test_class.declarator: handler
test_class.modifier: private
test_class.original_string: private WriteHandler handler;
test_class.type: WriteHandler
test_class.var_name: handler
test_class.declarator: oName
test_class.modifier: private
test_class.original_string: private ObjectName oName;
test_class.type: ObjectName
test_class.var_name: oName
test_class.file: agent/core/src/test/java/org/jolokia/handler/WriteHandlerTest.java
test_class.identifier: WriteHandlerTest
test_case.body: @Test
      public void invalidValue() throws Exception {
          JmxWriteRequest req = new JmxRequestBuilder(WRITE,oName).attribute("Boolean").value(10).build();
          handler.doHandleRequest(getMBeanServer(),req);
      }
test_case.class_method_signature: WriteHandlerTest.invalidValue()
test_case.full_signature: @Test public void invalidValue()
test_case.identifier: invalidValue
test_case.invocations: build value attribute doHandleRequest getMBeanServer
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void invalidValue()
focal_class.declarator: converters
focal_class.modifier: private
focal_class.original_string: private Converters converters;
focal_class.type: Converters
focal_class.var_name: converters
focal_class.file: agent/core/src/main/java/org/jolokia/handler/WriteHandler.java
focal_class.identifier: WriteHandler
focal_class.class_method_signature: WriteHandler.WriteHandler(Restrictor pRestrictor, Converters pConverters)
focal_class.full_signature: public  WriteHandler(Restrictor pRestrictor, Converters pConverters)
focal_class.identifier: WriteHandler
focal_class.modifiers: public
focal_class.parameters: (Restrictor pRestrictor, Converters pConverters)
focal_class.signature:  WriteHandler(Restrictor pRestrictor, Converters pConverters)
focal_class.class_method_signature: WriteHandler.getType()
focal_class.full_signature: @Override public RequestType getType()
focal_class.identifier: getType
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: RequestType
focal_class.signature: RequestType getType()
focal_class.class_method_signature: WriteHandler.checkForRestriction(JmxWriteRequest pRequest)
focal_class.full_signature: @Override protected void checkForRestriction(JmxWriteRequest pRequest)
focal_class.identifier: checkForRestriction
focal_class.modifiers: @Override protected
focal_class.parameters: (JmxWriteRequest pRequest)
focal_class.return: void
focal_class.signature: void checkForRestriction(JmxWriteRequest pRequest)
focal_class.class_method_signature: WriteHandler.doHandleRequest(MBeanServerConnection server, JmxWriteRequest request)
focal_class.full_signature: @Override public Object doHandleRequest(MBeanServerConnection server, JmxWriteRequest request)
focal_class.identifier: doHandleRequest
focal_class.modifiers: @Override public
focal_class.parameters: (MBeanServerConnection server, JmxWriteRequest request)
focal_class.return: Object
focal_class.signature: Object doHandleRequest(MBeanServerConnection server, JmxWriteRequest request)
focal_class.class_method_signature: WriteHandler.setAttribute(JmxWriteRequest request, MBeanServerConnection server)
focal_class.full_signature: private Object setAttribute(JmxWriteRequest request, MBeanServerConnection server)
focal_class.identifier: setAttribute
focal_class.modifiers: private
focal_class.parameters: (JmxWriteRequest request, MBeanServerConnection server)
focal_class.return: Object
focal_class.signature: Object setAttribute(JmxWriteRequest request, MBeanServerConnection server)
focal_class.class_method_signature: WriteHandler.useReturnValueWithPath()
focal_class.full_signature: @Override public boolean useReturnValueWithPath()
focal_class.identifier: useReturnValueWithPath
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: boolean
focal_class.signature: boolean useReturnValueWithPath()
focal_class.class_method_signature: WriteHandler.getValues(String pType, Object pCurrentValue, JmxWriteRequest pRequest)
focal_class.full_signature: private Object[] getValues(String pType, Object pCurrentValue, JmxWriteRequest pRequest)
focal_class.identifier: getValues
focal_class.modifiers: private
focal_class.parameters: (String pType, Object pCurrentValue, JmxWriteRequest pRequest)
focal_class.return: Object[]
focal_class.signature: Object[] getValues(String pType, Object pCurrentValue, JmxWriteRequest pRequest)
focal_class.class_method_signature: WriteHandler.getValues(OpenMBeanAttributeInfo pOpenTypeInfo, Object pCurrentValue, JmxWriteRequest pRequest)
focal_class.full_signature: private Object[] getValues(OpenMBeanAttributeInfo pOpenTypeInfo, Object pCurrentValue, JmxWriteRequest pRequest)
focal_class.identifier: getValues
focal_class.modifiers: private
focal_class.parameters: (OpenMBeanAttributeInfo pOpenTypeInfo, Object pCurrentValue, JmxWriteRequest pRequest)
focal_class.return: Object[]
focal_class.signature: Object[] getValues(OpenMBeanAttributeInfo pOpenTypeInfo, Object pCurrentValue, JmxWriteRequest pRequest)
focal_class.superclass: extends JsonRequestHandler<JmxWriteRequest>
focal_method.body: @Override
      public Object doHandleRequest(MBeanServerConnection server, JmxWriteRequest request)
              throws InstanceNotFoundException, AttributeNotFoundException, ReflectionException, MBeanException, IOException {
  
          try {
              return setAttribute(request, server);
          } catch (IntrospectionException exp) {
              throw new IllegalArgumentException("Cannot get info for MBean " + request.getObjectName() + ": " +exp,exp);
          } catch (InvalidAttributeValueException e) {
              throw new IllegalArgumentException("Invalid value " + request.getValue() + " for attribute " +
                      request.getAttributeName() + ", MBean " + request.getObjectNameAsString(),e);
          } catch (IllegalAccessException e) {
              throw new IllegalArgumentException("Cannot set value " + request.getValue() + " for attribute " +
                      request.getAttributeName() + ", MBean " + request.getObjectNameAsString(),e);
          } catch (InvocationTargetException e) {
              throw new IllegalArgumentException("Cannot set value " + request.getValue() + " for attribute " +
                      request.getAttributeName() + ", MBean " + request.getObjectNameAsString(),e);
          }
      }
focal_method.class_method_signature: WriteHandler.doHandleRequest(MBeanServerConnection server, JmxWriteRequest request)
focal_method.full_signature: @Override public Object doHandleRequest(MBeanServerConnection server, JmxWriteRequest request)
focal_method.identifier: doHandleRequest
focal_method.invocations: setAttribute getObjectName getValue getAttributeName getObjectNameAsString getValue getAttributeName getObjectNameAsString getValue getAttributeName getObjectNameAsString
focal_method.modifiers: @Override public
focal_method.parameters: (MBeanServerConnection server, JmxWriteRequest request)
focal_method.return: Object
focal_method.signature: Object doHandleRequest(MBeanServerConnection server, JmxWriteRequest request)