org.jibx.ws.protocol
Class ProtocolDirectory
java.lang.Object
org.jibx.ws.protocol.ProtocolDirectory
public final class ProtocolDirectory
- extends Object
Directory of protocols. For now this uses a property file to relate protocols with specific Protocol
classes,
which are then loaded during class initialization and accessed as needed.
getProtocol
public static Protocol getProtocol(String protocolName)
throws WsConfigurationException
- Return the protocol for the specified protocol name.
- Parameters:
protocolName
- the name of the protocol, for example SOAP1_1
- Returns:
- protocol, or
null
if none found
- Throws:
WsConfigurationException
- if protocolName is unknown