public class ProtocolRegistry extends Object
Protocol
s.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 © 2017 JBoss by Red Hat. All rights reserved.