Class ChannelCommandDispatcherFactoryServiceConfigurator
java.lang.Object
org.wildfly.clustering.service.SimpleServiceNameProvider
org.wildfly.extension.clustering.server.dispatcher.ChannelCommandDispatcherFactoryServiceConfigurator
- All Implemented Interfaces:
Function<ClassLoader,,ByteBufferMarshaller> Predicate<org.jgroups.Message>,Supplier<AutoCloseableCommandDispatcherFactory>,CapabilityServiceConfigurator,ChannelCommandDispatcherFactoryConfiguration,ServiceConfigurator,ServiceNameProvider
public class ChannelCommandDispatcherFactoryServiceConfigurator
extends SimpleServiceNameProvider
implements CapabilityServiceConfigurator, ChannelCommandDispatcherFactoryConfiguration, Supplier<AutoCloseableCommandDispatcherFactory>, Function<ClassLoader,ByteBufferMarshaller>, Predicate<org.jgroups.Message>
Builds a channel-based
CommandDispatcherFactory service.- Author:
- Paul Ferraro
-
Constructor Summary
ConstructorsConstructorDescriptionChannelCommandDispatcherFactoryServiceConfigurator(org.jboss.msc.service.ServiceName name, String group) -
Method Summary
Modifier and TypeMethodDescriptionapply(ClassLoader loader) org.jboss.msc.service.ServiceBuilder<?>build(org.jboss.msc.service.ServiceTarget target) configure(org.jboss.as.controller.capability.CapabilityServiceSupport support) get()org.jgroups.JChannelPredicate<org.jgroups.Message>booleantest(org.jgroups.Message response) 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.jboss.as.clustering.controller.CapabilityServiceConfigurator
configureMethods inherited from interface org.wildfly.clustering.service.ServiceNameProvider
getServiceName
-
Constructor Details
-
ChannelCommandDispatcherFactoryServiceConfigurator
public ChannelCommandDispatcherFactoryServiceConfigurator(org.jboss.msc.service.ServiceName name, String group)
-
-
Method Details
-
get
- Specified by:
getin interfaceSupplier<AutoCloseableCommandDispatcherFactory>
-
configure
public ServiceConfigurator configure(org.jboss.as.controller.capability.CapabilityServiceSupport support) - Specified by:
configurein interfaceCapabilityServiceConfigurator
-
build
public org.jboss.msc.service.ServiceBuilder<?> build(org.jboss.msc.service.ServiceTarget target) - Specified by:
buildin interfaceServiceConfigurator
-
timeout
-
getMarshallerFactory
- Specified by:
getMarshallerFactoryin interfaceChannelCommandDispatcherFactoryConfiguration
-
apply
- Specified by:
applyin interfaceFunction<ClassLoader,ByteBufferMarshaller>
-
getChannel
public org.jgroups.JChannel getChannel()- Specified by:
getChannelin interfaceChannelCommandDispatcherFactoryConfiguration
-
getMarshaller
- Specified by:
getMarshallerin interfaceChannelCommandDispatcherFactoryConfiguration
-
getTimeout
- Specified by:
getTimeoutin interfaceChannelCommandDispatcherFactoryConfiguration
-
getUnknownForkPredicate
- Specified by:
getUnknownForkPredicatein interfaceChannelCommandDispatcherFactoryConfiguration
-
test
public boolean test(org.jgroups.Message response)
-