public class InjectParamsFromContextServiceProxy
extends org.mule.runtime.container.internal.MetadataInvocationHandler<org.mule.runtime.api.service.Service>
Service instance to automatically Inject parameters for invocations of implementation methods.| Modifier and Type | Field and Description |
|---|---|
static String |
MANY_CANDIDATES_ERROR_MSG_TEMPLATE |
static String |
NO_OBJECT_FOUND_FOR_PARAM |
| Constructor and Description |
|---|
InjectParamsFromContextServiceProxy(org.mule.runtime.api.service.Service service,
org.mule.runtime.api.artifact.Registry registry)
Creates a new proxy for the provided service instance.
|
| Modifier and Type | Method and Description |
|---|---|
static org.mule.runtime.api.service.Service |
createInjectProviderParamsServiceProxy(org.mule.runtime.api.service.Service service,
org.mule.runtime.api.artifact.Registry registry)
Creates a proxy for the provided service instance.
|
Object |
invoke(Object proxy,
Method method,
Object[] args) |
public static final String MANY_CANDIDATES_ERROR_MSG_TEMPLATE
public static final String NO_OBJECT_FOUND_FOR_PARAM
public InjectParamsFromContextServiceProxy(org.mule.runtime.api.service.Service service,
org.mule.runtime.api.artifact.Registry registry)
service - service instance to wrap. Non null.registry - the Registry to use for resolving injectable parameters. Non null.public Object invoke(Object proxy, Method method, Object[] args) throws Throwable
Throwablepublic static org.mule.runtime.api.service.Service createInjectProviderParamsServiceProxy(org.mule.runtime.api.service.Service service,
org.mule.runtime.api.artifact.Registry registry)
service - service to wrap. Non null.registry - the Registry to use for resolving injectable parameters. Non null.Copyright © 2003–2024 MuleSoft, Inc.. All rights reserved.