Class CompositeServiceCallInterceptor
- java.lang.Object
-
- org.apache.ignite.internal.processors.service.CompositeServiceCallInterceptor
-
- All Implemented Interfaces:
Serializable,ServiceCallInterceptor
public class CompositeServiceCallInterceptor extends Object implements ServiceCallInterceptor
Composite service call interceptor.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description CompositeServiceCallInterceptor(ServiceCallInterceptor[] interceptors)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Objectinvoke(String mtd, Object[] args, ServiceContext ctx, Callable<Object> next)Intercepts delegated service call.
-
-
-
Constructor Detail
-
CompositeServiceCallInterceptor
public CompositeServiceCallInterceptor(ServiceCallInterceptor[] interceptors)
- Parameters:
interceptors- Service call interceptors.
-
-
Method Detail
-
invoke
public Object invoke(String mtd, Object[] args, ServiceContext ctx, Callable<Object> next) throws Exception
Intercepts delegated service call.- Specified by:
invokein interfaceServiceCallInterceptor- Parameters:
mtd- Method name.args- Method arguments.ctx- Service context.next- Delegated call to a service method and/or interceptor in the chain.- Returns:
- Service call result.
- Throws:
Exception
-
-