@Override default org.apache.dubbo.rpc.Result invoke(org.apache.dubbo.rpc.Invoker<?> invoker, org.apache.dubbo.rpc.Invocation invocation) throws org.apache.dubbo.rpc.RpcException { Result.CompatibleResult result = (Result.CompatibleResult) invoke(new Invoker.CompatibleInvoker<>(invoker), new Invocation.CompatibleInvocation(invocation)); return result.getDelegate(); } }
@Override default org.apache.dubbo.rpc.Result invoke(org.apache.dubbo.rpc.Invoker<?> invoker, org.apache.dubbo.rpc.Invocation invocation) throws org.apache.dubbo.rpc.RpcException { Result.CompatibleResult result = (Result.CompatibleResult) invoke(new Invoker.CompatibleInvoker<>(invoker), new Invocation.CompatibleInvocation(invocation)); return result.getDelegate(); } }
public Result invoke(Invoker<?> invoker, Invocation invocation) throws RpcException { CompensableBeanFactory beanFactory = CompensableBeanRegistry.getInstance().getBeanFactory(); CompensableCoordinator compensableCoordinator = // (CompensableCoordinator) beanFactory.getCompensableNativeParticipant(); if (compensableCoordinator.isStatefully()) { return this.secondaryFilter.invoke(invoker, invocation); } else { return this.primaryFilter.invoke(invoker, invocation); } }
@Override public Result invoke(Invocation invocation) throws RpcException { return filter.invoke(next, invocation); }
public Result invoke(Invocation invocation) throws RpcException { return filter.invoke(next, invocation); }
@Override public Result invoke(Invocation invocation) throws RpcException { return filter.invoke(next, invocation); }
public Result invoke(Invocation invocation) throws RpcException { return filter.invoke(next, invocation); }
@Override default org.apache.dubbo.rpc.Result invoke(org.apache.dubbo.rpc.Invoker<?> invoker, org.apache.dubbo.rpc.Invocation invocation) throws org.apache.dubbo.rpc.RpcException { Result.CompatibleResult result = (Result.CompatibleResult) invoke(new Invoker.CompatibleInvoker<>(invoker), new Invocation.CompatibleInvocation(invocation)); return result.getDelegate(); } }
@Override default org.apache.dubbo.rpc.Result invoke(org.apache.dubbo.rpc.Invoker<?> invoker, org.apache.dubbo.rpc.Invocation invocation) throws org.apache.dubbo.rpc.RpcException { Result.CompatibleResult result = (Result.CompatibleResult) invoke(new Invoker.CompatibleInvoker<>(invoker), new Invocation.CompatibleInvocation(invocation)); return result.getDelegate(); } }