com.alibaba.dubbo.rpc.filter
Class DeprecatedFilter
java.lang.Object
com.alibaba.dubbo.rpc.filter.DeprecatedFilter
- All Implemented Interfaces:
- Filter
@Activate(group="consumer",
value="deprecated")
public class DeprecatedFilter- extends Object
- implements Filter
DeprecatedInvokerFilter
- Author:
- william.liangf
DeprecatedFilter
public DeprecatedFilter()
invoke
public Result invoke(Invoker<?> invoker,
Invocation invocation)
throws RpcException
- Description copied from interface:
Filter
- do invoke filter.
// before filter
Result result = invoker.invoke(invocation);
// after filter
return result;
- Specified by:
invoke in interface Filter
- Parameters:
invoker - serviceinvocation - invocation.
- Returns:
- invoke result.
- Throws:
RpcException- See Also:
Invoker.invoke(Invocation)
Copyright © 2012 Alibaba. All Rights Reserved.