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
ConstructorsConstructorDescriptionChannelServiceConfigurator(Capability capability, org.jboss.as.controller.PathAddress address) -
Method Summary
Modifier and TypeMethodDescriptionvoidaccept(org.jgroups.JChannel channel) org.jboss.msc.service.ServiceBuilder<?>build(org.jboss.msc.service.ServiceTarget target) configure(org.jboss.as.controller.OperationContext context, org.jboss.dmr.ModelNode model) org.jgroups.JChannelget()statisticsEnabled(boolean enabled) Methods inherited from class org.jboss.as.clustering.controller.CapabilityServiceNameProvider
getServiceNameMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.wildfly.clustering.service.ServiceNameProvider
getServiceName
-
Constructor Details
-
ChannelServiceConfigurator
public ChannelServiceConfigurator(Capability capability, org.jboss.as.controller.PathAddress address)
-
-
Method Details
-
statisticsEnabled
-
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
-
get
public org.jgroups.JChannel get() -
accept
public void accept(org.jgroups.JChannel channel)
-