public class InjectParamsFromContextServiceMethodInvoker extends DefaultMethodInvoker
MethodInvoker to automatically reroute Service method invocations to Inject annotated overloads,
similar to InjectParamsFromContextServiceProxy| Modifier and Type | Field and Description |
|---|---|
static String |
MANY_CANDIDATES_ERROR_MSG_TEMPLATE |
static String |
NO_OBJECT_FOUND_FOR_PARAM |
| Constructor and Description |
|---|
InjectParamsFromContextServiceMethodInvoker(org.mule.runtime.api.artifact.Registry registry)
Creates a new instance
|
public static final String MANY_CANDIDATES_ERROR_MSG_TEMPLATE
public static final String NO_OBJECT_FOUND_FOR_PARAM
public InjectParamsFromContextServiceMethodInvoker(org.mule.runtime.api.artifact.Registry registry)
registry - the Registry to use for resolving injectable parameters. Non null.public Object invoke(Object target, Method method, Object[] args) throws Throwable
invoke in interface MethodInvokerinvoke in class DefaultMethodInvokerThrowableCopyright © 2003–2020 MuleSoft, Inc.. All rights reserved.