org.jibx.ws.protocol
Class ProtocolDirectory

java.lang.Object
  extended by 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.


Method Summary
static Protocol getProtocol(String protocolName)
          Return the protocol for the specified protocol name.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

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


Project Web Site