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>> 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 Summary
Modifier and TypeMethodDescriptionvoidaccept(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) 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, toStringMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface org.wildfly.clustering.service.ServiceNameProvider
getServiceName
-
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:
configurein interfaceResourceServiceConfigurator- Throws:
org.jboss.as.controller.OperationFailedException
-
build
public org.jboss.msc.service.ServiceBuilder<?> build(org.jboss.msc.service.ServiceTarget target) - Specified by:
buildin interfaceServiceConfigurator
-
accept
public void accept(Map.Entry<io.undertow.server.handlers.proxy.mod_cluster.ModCluster, io.undertow.server.handlers.proxy.mod_cluster.MCMPConfig> entry) -
get
public Map.Entry<io.undertow.server.handlers.proxy.mod_cluster.ModCluster,io.undertow.server.handlers.proxy.mod_cluster.MCMPConfig> get()
-