private Object[] getMethodArgumentValues(WampMessage message, Object... providedArgs)
			throws Exception {

		MethodParameter[] parameters = getMethodParameters();
		Object[] args = new Object[parameters.length];
		int argIndex = 0;
		for (int i = 0; i < parameters.length; i++) {
			MethodParameter parameter = parameters[i];
			parameter.initParameterNameDiscovery(this.parameterNameDiscoverer);
			GenericTypeResolver.resolveParameterType(parameter, getBean().getClass());

			if (this.argumentResolvers.supportsParameter(parameter)) {
				try {
					args[i] = this.argumentResolvers.resolveArgument(parameter, message);
					continue;
				}
				catch (Exception ex) {
					if (this.logger.isTraceEnabled()) {
						this.logger.trace(getArgumentResolutionErrorMessage(
								"Error resolving argument", i), ex);
					}
					throw ex;
				}
			}

			if (providedArgs != null) {
				args[i] = this.methodParameterConverter.convert(parameter,
						providedArgs[argIndex]);
				if (args[i] != null) {
					argIndex++;
					continue;
				}
			}

			if (args[i] == null) {
				String error = getArgumentResolutionErrorMessage(
						"No suitable resolver for argument", i);
				throw new IllegalStateException(error);
			}
		}
		return args;
	}
private Object [ ] getMethodArgumentValues ( WampMessage message , Object ... providedArgs ) throws Exception { MethodParameter [ ] parameters = getMethodParameters ( ) ; Object [ ] args = new Object [ parameters . length ] ; int argIndex = 0 ; for ( int i = 0 ; i < parameters . length ; i ++ ) { MethodParameter parameter = parameters [ i ] ; parameter . initParameterNameDiscovery ( this . parameterNameDiscoverer ) ; GenericTypeResolver . resolveParameterType ( parameter , getBean ( ) . getClass ( ) ) ; if ( this . argumentResolvers . supportsParameter ( parameter ) ) { try { args [ i ] = this . argumentResolvers . resolveArgument ( parameter , message ) ; continue ; } catch ( Exception ex ) { if ( this . logger . isTraceEnabled ( ) ) { this . logger . trace ( getArgumentResolutionErrorMessage ( "Error resolving argument" , i ) , ex ) ; } throw ex ; } } if ( providedArgs != null ) { args [ i ] = this . methodParameterConverter . convert ( parameter , providedArgs [ argIndex ] ) ; if ( args [ i ] != null ) { argIndex ++ ; continue ; } } if ( args [ i ] == null ) { String error = getArgumentResolutionErrorMessage ( "No suitable resolver for argument" , i ) ; throw new IllegalStateException ( error ) ; } } return args ; }
Get the method argument values for the current request.