subTree.replace(item, wrap);
} else if (item instanceof TestStateListener) {
RemoteTestListenerWrapper wrap = new RemoteTestListenerWrapper(rtl);
subTree.replace(item, wrap);
} else if (item instanceof SampleListener) {
RemoteSampleListenerWrapper wrap = new RemoteSampleListenerWrapper(rtl);
subTree.replace(item, wrap);
} else {
log.warn("Could not replace Remotable item "+item.getClass().getName());
}
} catch (RemoteException e) {