map.put("portalname", service.getPortalName());
map.put("profile", "coplet");
map.put("name", "instancedata");
copletInstanceDataManager = (CopletInstanceDataManager) adapter.loadProfile(map, parameters);
CopletFactory copletFactory = service.getComponentManager().getCopletFactory();
Iterator iterator = copletDataManager.getCopletData().values().iterator();
while (iterator.hasNext()) {
CopletData cd = (CopletData) iterator.next();
copletFactory.prepare(cd);
}
iterator = copletInstanceDataManager.getCopletInstanceData().values().iterator();
while (iterator.hasNext()){
CopletInstanceData cid = (CopletInstanceData) iterator.next();
copletFactory.prepare(cid);
}
// store managers
this.copletInstanceDataManagers.put(portalName, copletInstanceDataManager);
this.copletDataManagers.put(portalName, copletDataManager);