public Object [ ] getInjectedValueArray ( Method method , Object [ ] args , ExecutionContext ctx ) throws IllegalArgumentException , ServiceException { ParameterMarshaller marshaller = new ParameterMarshaller ( method ) ; if ( ( ctx instanceof Service ) == false ) { throw new ServiceException ( "Tried to create parameters with injection and not inside a service." ) ; } return marshaller . getValueArray ( args , ( Service ) ctx ) ; }
Enumerates the correct parameters for the delegated method . Injects any autowired types if present in the method signature .