public void invoke ( Decoder decoder ) throws InvocationTargetException , IllegalAccessException { try { method . invoke ( callingObject , pojoCreator . decode ( decoder ) ) ; } catch ( IOException e ) { LOG . error ( "Skipping invocation of method {}. Cannot instantiate parameter object of type {}" , getMethodName ( ) , methodParameterClass . getName ( ) , e ) ; } }
This method instantiates an object of the method parameter type using the incoming decoder object and then invokes the associated method .