Class ForkChannelFactoryServiceConfigurator
- java.lang.Object
-
- org.jboss.as.clustering.controller.CapabilityServiceNameProvider
-
- org.jboss.as.clustering.jgroups.subsystem.ForkChannelFactoryServiceConfigurator
-
- All Implemented Interfaces:
Consumer<ChannelFactory>,Supplier<ChannelFactory>,ResourceServiceConfigurator,ServiceConfigurator,ServiceNameProvider
public class ForkChannelFactoryServiceConfigurator extends CapabilityServiceNameProvider implements ResourceServiceConfigurator, Supplier<ChannelFactory>, Consumer<ChannelFactory>
Builder for a service that provides aChannelFactoryfor creating fork channels.- Author:
- Paul Ferraro
-
-
Constructor Summary
Constructors Constructor Description ForkChannelFactoryServiceConfigurator(Capability capability, org.jboss.as.controller.PathAddress address)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaccept(ChannelFactory factory)org.jboss.msc.service.ServiceBuilder<?>build(org.jboss.msc.service.ServiceTarget target)ServiceConfiguratorconfigure(org.jboss.as.controller.OperationContext context, org.jboss.dmr.ModelNode model)ChannelFactoryget()-
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
-
ForkChannelFactoryServiceConfigurator
public ForkChannelFactoryServiceConfigurator(Capability capability, org.jboss.as.controller.PathAddress address)
-
-
Method Detail
-
get
public ChannelFactory get()
- Specified by:
getin interfaceSupplier<ChannelFactory>
-
accept
public void accept(ChannelFactory factory)
- Specified by:
acceptin interfaceConsumer<ChannelFactory>
-
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
-
-