Class ModClusterServiceConfigurator

All Implemented Interfaces:
Consumer<Map.Entry<io.undertow.server.handlers.proxy.mod_cluster.ModCluster,io.undertow.server.handlers.proxy.mod_cluster.MCMPConfig>>, Supplier<Map.Entry<io.undertow.server.handlers.proxy.mod_cluster.ModCluster,io.undertow.server.handlers.proxy.mod_cluster.MCMPConfig>>, ResourceServiceConfigurator, ServiceConfigurator, ServiceNameProvider

public class ModClusterServiceConfigurator extends ModClusterServiceNameProvider implements ResourceServiceConfigurator, Supplier<Map.Entry<io.undertow.server.handlers.proxy.mod_cluster.ModCluster,io.undertow.server.handlers.proxy.mod_cluster.MCMPConfig>>, Consumer<Map.Entry<io.undertow.server.handlers.proxy.mod_cluster.ModCluster,io.undertow.server.handlers.proxy.mod_cluster.MCMPConfig>>
Configures a service that provides both ModCluster and MCMPConfig.
Author:
Paul Ferraro
  • Method Details

    • configure

      public ServiceConfigurator configure(org.jboss.as.controller.OperationContext context, org.jboss.dmr.ModelNode model) throws org.jboss.as.controller.OperationFailedException
      Specified by:
      configure in interface ResourceServiceConfigurator
      Throws:
      org.jboss.as.controller.OperationFailedException
    • build

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

      public void accept(Map.Entry<io.undertow.server.handlers.proxy.mod_cluster.ModCluster,io.undertow.server.handlers.proxy.mod_cluster.MCMPConfig> entry)
      Specified by:
      accept in interface Consumer<Map.Entry<io.undertow.server.handlers.proxy.mod_cluster.ModCluster,io.undertow.server.handlers.proxy.mod_cluster.MCMPConfig>>
    • get

      public Map.Entry<io.undertow.server.handlers.proxy.mod_cluster.ModCluster,io.undertow.server.handlers.proxy.mod_cluster.MCMPConfig> get()
      Specified by:
      get in interface Supplier<Map.Entry<io.undertow.server.handlers.proxy.mod_cluster.ModCluster,io.undertow.server.handlers.proxy.mod_cluster.MCMPConfig>>