Class CacheContainerServiceConfigurator

    • Constructor Detail

      • CacheContainerServiceConfigurator

        public CacheContainerServiceConfigurator​(org.jboss.as.controller.PathAddress address,
                                                 ServiceValueRegistry<org.infinispan.Cache<?,​?>> registry)
    • Method Detail

      • apply

        public org.infinispan.manager.EmbeddedCacheManager apply​(org.infinispan.manager.EmbeddedCacheManager manager)
        Specified by:
        apply in interface Function<org.infinispan.manager.EmbeddedCacheManager,​org.infinispan.manager.EmbeddedCacheManager>
      • get

        public org.infinispan.manager.EmbeddedCacheManager get()
        Specified by:
        get in interface Supplier<org.infinispan.manager.EmbeddedCacheManager>
      • accept

        public void accept​(org.infinispan.manager.EmbeddedCacheManager manager)
        Specified by:
        accept in interface Consumer<org.infinispan.manager.EmbeddedCacheManager>
      • build

        public org.jboss.msc.service.ServiceBuilder<?> build​(org.jboss.msc.service.ServiceTarget target)
        Specified by:
        build in interface ServiceConfigurator
      • cacheStarted

        public CompletionStage<Void> cacheStarted​(org.infinispan.notifications.cachemanagerlistener.event.CacheStartedEvent event)
      • cacheStopped

        public CompletionStage<Void> cacheStopped​(org.infinispan.notifications.cachemanagerlistener.event.CacheStoppedEvent event)