Class ModClusterServiceConfigurator

java.lang.Object
org.wildfly.clustering.service.SimpleServiceNameProvider
org.wildfly.extension.undertow.filters.ModClusterServiceNameProvider
org.wildfly.extension.undertow.filters.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>>, org.jboss.as.clustering.controller.ResourceServiceConfigurator, org.wildfly.clustering.service.ServiceConfigurator, org.wildfly.clustering.service.ServiceNameProvider

public class ModClusterServiceConfigurator extends ModClusterServiceNameProvider implements org.jboss.as.clustering.controller.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 Summary

    Modifier and Type
    Method
    Description
    void
    accept(Map.Entry<io.undertow.server.handlers.proxy.mod_cluster.ModCluster,io.undertow.server.handlers.proxy.mod_cluster.MCMPConfig> entry)
     
    org.jboss.msc.service.ServiceBuilder<?>
    build(org.jboss.msc.service.ServiceTarget target)
     
    org.wildfly.clustering.service.ServiceConfigurator
    configure(org.jboss.as.controller.OperationContext context, org.jboss.dmr.ModelNode model)
     
    Map.Entry<io.undertow.server.handlers.proxy.mod_cluster.ModCluster,io.undertow.server.handlers.proxy.mod_cluster.MCMPConfig>
    get()
     

    Methods inherited from class org.wildfly.clustering.service.SimpleServiceNameProvider

    equals, getServiceName, hashCode, toString

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait

    Methods inherited from interface java.util.function.Consumer

    andThen

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

    getServiceName
  • Method Details

    • configure

      public org.wildfly.clustering.service.ServiceConfigurator configure(org.jboss.as.controller.OperationContext context, org.jboss.dmr.ModelNode model) throws org.jboss.as.controller.OperationFailedException
      Specified by:
      configure in interface org.jboss.as.clustering.controller.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 org.wildfly.clustering.service.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>>