class IndexingApplication extends Application<IndexingApplication.ApplicationHelper, IndexingConnectorContext> {

  @Override
  protected void shutDown() throws Exception {
    logger.log(Level.INFO, "Shutdown Indexing service");
    if ((indexingService != null) && indexingService.isRunning()) {
      indexingService.stopAsync().awaitTerminated();
    }
    super.shutDown();
  }

  private  IndexingApplication(Builder builder);

}