
public class ProtocolRegistry extends Object
Protocols.| Constructor and Description |
|---|
ProtocolRegistry() |
| Modifier and Type | Method and Description |
|---|---|
ProtocolRegistry |
addProtocol(ProtocolDefinition protocolDefinition) |
ProtocolDefinition |
getProtocol(ProtocolDescription protocolDescription) |
public ProtocolRegistry addProtocol(ProtocolDefinition protocolDefinition)
protocol - The Protocol to addIllegalArgumentException - if a protocol with same name foundpublic ProtocolDefinition getProtocol(ProtocolDescription protocolDescription)
protocolDescription - Copyright © 2016 JBoss by Red Hat. All rights reserved.