threadMap.clear();
if (HostManager.isVirtualHostEnabled()) {
// find all profiles and start threads
Properties profiles = DynamicDataSourceManager.getProfileProperties();
Set<String> profileSet = new HashSet(profiles.values());
for (String profile : profileSet) {
HostManager.setCurrentProfile(profile);
workflowManager.internalUpdateDeadlineChecker();
}
HostManager.setCurrentProfile(null);