Class LocalRegistryFactoryServiceConfigurator<K,​V>

  • Type Parameters:
    K - the registry key type
    V - the registry value type
    All Implemented Interfaces:
    BiFunction<Map.Entry<K,​V>,​Runnable,​org.wildfly.clustering.registry.Registry<K,​V>>, org.jboss.as.clustering.controller.CapabilityServiceConfigurator, org.wildfly.clustering.service.Dependency, org.wildfly.clustering.service.ServiceConfigurator, org.wildfly.clustering.service.ServiceNameProvider

    public class LocalRegistryFactoryServiceConfigurator<K,​V>
    extends FunctionalRegistryFactoryServiceConfigurator<K,​V>
    Builds a non-clustered RegistryFactory.
    Author:
    Paul Ferraro
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      org.wildfly.clustering.registry.Registry<K,​V> apply​(Map.Entry<K,​V> entry, Runnable closeTask)  
      org.wildfly.clustering.service.ServiceConfigurator configure​(org.jboss.as.controller.capability.CapabilityServiceSupport support)  
      <T> org.jboss.msc.service.ServiceBuilder<T> register​(org.jboss.msc.service.ServiceBuilder<T> builder)  
      • Methods inherited from class org.wildfly.clustering.service.SimpleServiceNameProvider

        equals, getServiceName, hashCode, toString
      • Methods inherited from interface org.jboss.as.clustering.controller.CapabilityServiceConfigurator

        configure
      • Methods inherited from interface org.wildfly.clustering.service.ServiceNameProvider

        getServiceName
    • Constructor Detail

      • LocalRegistryFactoryServiceConfigurator

        public LocalRegistryFactoryServiceConfigurator​(org.jboss.msc.service.ServiceName name,
                                                       String containerName,
                                                       String cacheName)
    • Method Detail

      • apply

        public org.wildfly.clustering.registry.Registry<K,​V> apply​(Map.Entry<K,​V> entry,
                                                                         Runnable closeTask)
      • configure

        public org.wildfly.clustering.service.ServiceConfigurator configure​(org.jboss.as.controller.capability.CapabilityServiceSupport support)
      • register

        public <T> org.jboss.msc.service.ServiceBuilder<T> register​(org.jboss.msc.service.ServiceBuilder<T> builder)