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,ServiceConfigurator,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)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
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.wildfly.clustering.service.ServiceNameProvider
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 interfaceServiceConfigurator
-
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
-
-