public class ProtocolDefinition extends Object
Constructor and Description |
---|
ProtocolDefinition(Protocol<?> protocol) |
ProtocolDefinition(Protocol<?> protocol,
Map<String,String> protocolConfiguration) |
ProtocolDefinition(Protocol<?> protocol,
Map<String,String> protocolConfiguration,
boolean defaultProtocol) |
Modifier and Type | Method and Description |
---|---|
ProtocolConfiguration |
createProtocolConfiguration()
Create a new ProtocolConfiguration based on default configuration.
|
ProtocolConfiguration |
createProtocolConfiguration(Map<String,String> configuration)
Create a new ProtocolConfiguration based on given configuration.
|
String |
getName() |
Protocol<?> |
getProtocol() |
Map<String,String> |
getProtocolConfiguration() |
ProtocolDescription |
getProtocolDescription() |
boolean |
isDefaultProtocol() |
public ProtocolDefinition(Protocol<?> protocol)
public ProtocolDefinition(Protocol<?> protocol, Map<String,String> protocolConfiguration)
public ProtocolDescription getProtocolDescription()
public boolean isDefaultProtocol()
public Protocol<?> getProtocol()
public String getName()
public Map<String,String> getProtocolConfiguration()
public ProtocolConfiguration createProtocolConfiguration() throws Exception
Exception
Copyright © 2017 JBoss by Red Hat. All rights reserved.