@Override protected void configure(ServiceExecutor executor) { executor.register(SessionIdGeneratorOperations.NEXT, this::next); }
if (method.getReturnType() == Void.TYPE) { if (method.getParameterTypes().length == 0) { executor.register(operationId, () -> { try { method.invoke(this); executor.register(operationId, args -> { try { method.invoke(this, (Object[]) args.value()); executor.register(operationId, () -> { try { return method.invoke(this); executor.register(operationId, args -> { try { return method.invoke(this, (Object[]) args.value());