public class JChannelFactoryBuilder extends Object implements ResourceServiceBuilder<ChannelFactory>, org.jboss.msc.value.Value<ChannelFactory>, ProtocolStackConfiguration
ChannelFactory
for creating channels.Constructor and Description |
---|
JChannelFactoryBuilder(String name) |
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.
|
Map<String,String> |
getDefaultProperties(String protocol) |
org.jboss.modules.ModuleLoader |
getModuleLoader() |
String |
getName() |
String |
getNodeName() |
List<ProtocolConfiguration> |
getProtocols() |
RelayConfiguration |
getRelay() |
org.jboss.msc.service.ServiceName |
getServiceName()
Returns the associated service name
|
TransportConfiguration |
getTransport() |
ChannelFactory |
getValue() |
public JChannelFactoryBuilder(String name)
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 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 modelpublic ChannelFactory getValue()
getValue
in interface org.jboss.msc.value.Value<ChannelFactory>
public String getName()
getName
in interface ProtocolStackConfiguration
public Map<String,String> getDefaultProperties(String protocol)
getDefaultProperties
in interface ProtocolStackConfiguration
public TransportConfiguration getTransport()
getTransport
in interface ProtocolStackConfiguration
public List<ProtocolConfiguration> getProtocols()
getProtocols
in interface ProtocolStackConfiguration
public String getNodeName()
getNodeName
in interface ProtocolStackConfiguration
public RelayConfiguration getRelay()
getRelay
in interface ProtocolStackConfiguration
public org.jboss.modules.ModuleLoader getModuleLoader()
getModuleLoader
in interface ProtocolStackConfiguration
Copyright © 2016 JBoss by Red Hat. All rights reserved.