public class LifecycleFilterServiceProxy extends Object implements InvocationHandler
Service instance to filter invocations of lifecycle methods from Startable and Stoppable
interfaces.| Constructor and Description |
|---|
LifecycleFilterServiceProxy(org.mule.runtime.api.service.Service service)
Creates a new proxy for the provided service instance.
|
| Modifier and Type | Method and Description |
|---|---|
static org.mule.runtime.api.service.Service |
createServiceProxy(org.mule.runtime.api.service.Service service)
Creates a proxy for the provided service instance.
|
Object |
invoke(Object proxy,
Method method,
Object[] args) |
public LifecycleFilterServiceProxy(org.mule.runtime.api.service.Service service)
service - service instance to wrap. Non null.public Object invoke(Object proxy, Method method, Object[] args) throws Throwable
invoke in interface InvocationHandlerThrowablepublic static org.mule.runtime.api.service.Service createServiceProxy(org.mule.runtime.api.service.Service service)
service - service to wrap. Non null.Copyright © 2003–2017 MuleSoft, Inc.. All rights reserved.