Class InfinispanBeanGroupListenerServiceConfigurator<K,V extends BeanInstance<K>,C>

java.lang.Object
org.wildfly.clustering.service.SimpleServiceNameProvider
org.wildfly.clustering.ejb.infinispan.bean.InfinispanBeanGroupListenerServiceConfigurator<K,V,C>
Type Parameters:
K - the bean identifier type
V - the bean instance type
C - the marshalled value context type
All Implemented Interfaces:
CapabilityServiceConfigurator, org.jboss.msc.Service, CacheConfiguration, InfinispanConfiguration, ServiceConfigurator, ServiceNameProvider

public class InfinispanBeanGroupListenerServiceConfigurator<K,V extends BeanInstance<K>,C> extends SimpleServiceNameProvider implements CapabilityServiceConfigurator, org.jboss.msc.Service, InfinispanConfiguration
Cache listener for bean group activation/passivation events.
Author:
Paul Ferraro
  • Method Details

    • build

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

      public void start(org.jboss.msc.service.StartContext context) throws org.jboss.msc.service.StartException
      Specified by:
      start in interface org.jboss.msc.Service
      Throws:
      org.jboss.msc.service.StartException
    • stop

      public void stop(org.jboss.msc.service.StopContext context)
      Specified by:
      stop in interface org.jboss.msc.Service
    • getCache

      public <KK, VV> org.infinispan.Cache<KK,VV> getCache()
      Specified by:
      getCache in interface CacheConfiguration
      Specified by:
      getCache in interface InfinispanConfiguration