@NotNull
  private AbstractApplicationContext createVertxContext(
      @NotNull SpringVerticleConnector connector) {
    AnnotationConfigApplicationContext ctx = new AnnotationConfigApplicationContext();
    ctx.getBeanFactory().registerSingleton(VERTX_BEAN, vertx);
    ctx.getBeanFactory().registerSingleton(VERTX_CONTEXT_BEAN, context);
    ctx.getBeanFactory().registerSingleton(EVENT_BUS_BEAN, vertx.eventBus());
    ctx.getBeanFactory().registerSingleton(CONNECTOR_BEAN, connector);
    ctx.refresh();

    return ctx;
  }
 @Override
 protected ConfigurableApplicationContext getApplicationContext() {
   AnnotationConfigApplicationContext context = new AnnotationConfigApplicationContext();
   context.getBeanFactory().registerSingleton("cachingProvider", getCachingProvider());
   context.register(EnableCachingConfig.class);
   context.refresh();
   jCacheManager = context.getBean("jCacheManager", CacheManager.class);
   return context;
 }