Package com.arjuna.mw.wscf.protocols
Class ProtocolManager
java.lang.Object
com.arjuna.mw.wscf.protocols.ProtocolManager
The ProtocolManager is the way in which protocol implementations may be
registered with the system.
- Since:
- 1.0.
- Version:
- $Id:$
- Author:
- Mark Little (mark.little@arjuna.com)
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
ProtocolManager
public ProtocolManager()
-
-
Method Details
-
getProtocolImplementation
public Object getProtocolImplementation(String protocolName) throws ProtocolNotRegisteredException, IllegalArgumentException - Parameters:
protocolName
- The name of the protocol.- Returns:
- The class that implements the specified coordination protocol.
- Throws:
ProtocolNotRegisteredException
- Thrown if the requested coordination protocol has not been registered.IllegalArgumentException
- Thrown if the parameter is invalid.
-
initialise
public final void initialise()
-