/*
* Only checks the coordination-type via the hashtable. Now we need to
* check the coordination-name.
*/
CoordinationXML protocolDef = new CoordinationXML(protocol);
Vector impls = (Vector) _protocols.get(protocolDef.protocolType());
if (impls != null)
{
for (int i = 0; i < impls.size(); i++)
{
ProtocolEntry entry = (ProtocolEntry) impls.elementAt(i);
if (sameProtocolType(entry, protocolDef))
{
return entry.implementationClass();
}
}
}
throw new ProtocolNotRegisteredException(
wscfLogger.log_mesg.getString("com.arjuna.mw.wscf11.protocols.ProtocolManager_1")
+ protocolDef.protocolType());
}