public abstract class ServiceInvocationHandler extends Object implements InvocationHandler
InvocationHandler to provide and expose metadata about the inner Service implementation.
This allows for nested Service Proxyies to work as expected.
| Modifier | Constructor and Description |
|---|---|
protected |
ServiceInvocationHandler(org.mule.runtime.api.service.Service service)
Creates a new proxy for the provided service instance.
|
| Modifier and Type | Method and Description |
|---|---|
protected Object |
doInvoke(Object proxy,
Method method,
Object[] args)
Performs the actual invocation on the proxied
Service, or delegates the call to an inner proxy. |
protected org.mule.runtime.api.service.Service |
getService()
The proxied
Service. |
protected Method[] |
getServiceImplementationDeclaredMethods() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitinvokeprotected ServiceInvocationHandler(org.mule.runtime.api.service.Service service)
service - service instance to wrap. Non null.protected Method[] getServiceImplementationDeclaredMethods()
protected Object doInvoke(Object proxy, Method method, Object[] args) throws Throwable
Service, or delegates the call to an inner proxy.
See InvocationHandler.invoke(Object, Method, Object[])Throwableprotected org.mule.runtime.api.service.Service getService()
Service.Copyright © 2003–2017 MuleSoft, Inc.. All rights reserved.