@Override public SingleRxInvoker getRxInvoker(SyncInvoker syncInvoker, ExecutorService executorService) { if (syncInvoker instanceof ClientInvocationBuilder) { ClientInvocationBuilder builder = (ClientInvocationBuilder) syncInvoker; CompletionStageRxInvoker completionStageRxInvoker = builder.rx(); return new SingleRxInvokerImpl(completionStageRxInvoker); } else { throw new ProcessingException(Messages.MESSAGES.expectedClientInvocationBuilder(syncInvoker.getClass().getName())); } } }
@Override public SingleRxInvoker getRxInvoker(SyncInvoker syncInvoker, ExecutorService executorService) { if (syncInvoker instanceof ClientInvocationBuilder) { ClientInvocationBuilder builder = (ClientInvocationBuilder) syncInvoker; CompletionStageRxInvoker completionStageRxInvoker = builder.rx(); return new SingleRxInvokerImpl(completionStageRxInvoker); } else { throw new ProcessingException(Messages.MESSAGES.expectedClientInvocationBuilder(syncInvoker.getClass().getName())); } } }
@Override public SingleRxInvoker getRxInvoker(SyncInvoker syncInvoker, ExecutorService executorService) { if (syncInvoker instanceof ClientInvocationBuilder) { ClientInvocationBuilder builder = (ClientInvocationBuilder) syncInvoker; CompletionStageRxInvoker completionStageRxInvoker = builder.rx(); return new SingleRxInvokerImpl(completionStageRxInvoker); } else { throw new ProcessingException(Messages.MESSAGES.expectedClientInvocationBuilder(syncInvoker.getClass().getName())); } } }
@Override public SingleRxInvoker getRxInvoker(SyncInvoker syncInvoker, ExecutorService executorService) { if (syncInvoker instanceof ClientInvocationBuilder) { ClientInvocationBuilder builder = (ClientInvocationBuilder) syncInvoker; CompletionStageRxInvoker completionStageRxInvoker = builder.rx(); return new SingleRxInvokerImpl(completionStageRxInvoker); } else { throw new ProcessingException(Messages.MESSAGES.expectedClientInvocationBuilder(syncInvoker.getClass().getName())); } } }