Class ChannelServiceConfigurator
- java.lang.Object
-
- org.jboss.as.clustering.controller.CapabilityServiceNameProvider
-
- org.jboss.as.clustering.jgroups.subsystem.ChannelServiceConfigurator
-
- All Implemented Interfaces:
Consumer<org.jgroups.JChannel>,Supplier<org.jgroups.JChannel>,ResourceServiceConfigurator,org.wildfly.clustering.service.ServiceConfigurator,org.wildfly.clustering.service.ServiceNameProvider
public class ChannelServiceConfigurator extends CapabilityServiceNameProvider implements ResourceServiceConfigurator, Supplier<org.jgroups.JChannel>, Consumer<org.jgroups.JChannel>
Provides a connected channel for use by dependent services.- Author:
- Paul Ferraro
-
-
Constructor Summary
Constructors Constructor Description ChannelServiceConfigurator(Capability capability, org.jboss.as.controller.PathAddress address)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaccept(org.jgroups.JChannel channel)org.jboss.msc.service.ServiceBuilder<?>build(org.jboss.msc.service.ServiceTarget target)org.wildfly.clustering.service.ServiceConfiguratorconfigure(org.jboss.as.controller.OperationContext context, org.jboss.dmr.ModelNode model)org.jgroups.JChannelget()ChannelServiceConfiguratorstatisticsEnabled(boolean enabled)-
Methods inherited from class org.jboss.as.clustering.controller.CapabilityServiceNameProvider
getServiceName
-
-
-
-
Constructor Detail
-
ChannelServiceConfigurator
public ChannelServiceConfigurator(Capability capability, org.jboss.as.controller.PathAddress address)
-
-
Method Detail
-
statisticsEnabled
public ChannelServiceConfigurator statisticsEnabled(boolean enabled)
-
build
public org.jboss.msc.service.ServiceBuilder<?> build(org.jboss.msc.service.ServiceTarget target)
- Specified by:
buildin interfaceorg.wildfly.clustering.service.ServiceConfigurator
-
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:
configurein interfaceResourceServiceConfigurator- Throws:
org.jboss.as.controller.OperationFailedException
-
-