{
ProtocolStackConfigurator result = null;
try
{
ProtocolData[] protocols=orig.getProtocolStack();
ProtocolData transport=protocols[0];
Map<String, String> tpProps = transport.getParameters();
tpProps.put(Global.SINGLETON_NAME, singletonName);
// we've now updated the state of orig; just return it
result = orig;
}
catch (UnsupportedOperationException uoe)