/** * Instantiate a Builder to be able to create a {@link DefaultQueryGateway}. * <p> * The {@code dispatchInterceptors} is defaulted to an empty list. The {@link QueryBus} is a * <b>hard requirement</b> and as such should be provided. * * @return a Builder to be able to create a {@link DefaultQueryGateway} */ public static Builder builder() { return new Builder(); }
/** * Instantiate a Builder to be able to create a {@link DefaultQueryGateway}. * <p> * The {@code dispatchInterceptors} is defaulted to an empty list. The {@link QueryBus} is a * <b>hard requirement</b> and as such should be provided. * * @return a Builder to be able to create a {@link DefaultQueryGateway} */ public static Builder builder() { return new Builder(); }