com.arjuna.mw.wscf.protocols
Class ProtocolManager

java.lang.Object
  extended by com.arjuna.mw.wscf.protocols.ProtocolManager

public class ProtocolManager
extends Object

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
ProtocolManager()
           
 
Method Summary
 Object getProtocolImplementation(String protocolName)
           
 void initialise()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ProtocolManager

public ProtocolManager()
Method Detail

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()


Copyright © 2012. All Rights Reserved.