@Override
  public void appendPluginServices(final BesuPluginContextImpl besuContext) {
    final BlockInterface blockInterface = new CliqueBlockInterface();
    final PoaQueryServiceImpl service =
        new PoaQueryServiceImpl(blockInterface, blockchain, nodeKey);
    besuContext.addService(PoaQueryService.class, service);
    besuContext.addService(PoAMetricsService.class, service);
  }
Instantiates a new Clique query plugin service factory.

@param blockchain the blockchain
@param nodeKey the node key
app/src/main/java/org/hyperledger/besu/controller/CliqueQueryPluginServiceFactory.java