public class ForkChannelFactoryBuilder extends Object implements ResourceServiceBuilder<ChannelFactory>, org.jboss.msc.value.Value<ChannelFactory>
ChannelFactory
for creating fork channels.Constructor and Description |
---|
ForkChannelFactoryBuilder(String channelName) |
Modifier and Type | Method and Description |
---|---|
org.jboss.msc.service.ServiceBuilder<ChannelFactory> |
build(org.jboss.msc.service.ServiceTarget target)
Builds a service into the specified target.
|
Builder<ChannelFactory> |
configure(org.jboss.as.controller.OperationContext context,
org.jboss.dmr.ModelNode model)
Configures this builder using the specified expression resolver and model.
|
org.jboss.msc.service.ServiceName |
getServiceName()
Returns the associated service name
|
ChannelFactory |
getValue() |
public ForkChannelFactoryBuilder(String channelName)
public org.jboss.msc.service.ServiceName getServiceName()
ServiceNameProvider
getServiceName
in interface ServiceNameProvider
public org.jboss.msc.service.ServiceBuilder<ChannelFactory> build(org.jboss.msc.service.ServiceTarget target)
Builder
build
in interface Builder<ChannelFactory>
target
- the service installation targetpublic ChannelFactory getValue()
getValue
in interface org.jboss.msc.value.Value<ChannelFactory>
public Builder<ChannelFactory> configure(org.jboss.as.controller.OperationContext context, org.jboss.dmr.ModelNode model) throws org.jboss.as.controller.OperationFailedException
ResourceServiceBuilder
configure
in interface ResourceServiceBuilder<ChannelFactory>
context
- an operation context, used to resolve capabilities and expressionsmodel
- the resource modelorg.jboss.as.controller.OperationFailedException
- if there was a failure reading the modelCopyright © 2016 JBoss by Red Hat. All rights reserved.