// End JCP
// Erwin DL : this is not right. Class name has a specific purpose.
// result.setClassName("Bossanova Director");
result.setName("Bossanova Director");
PasserelleDirector passDir = (PasserelleDirector) result;
if(passDir.getAdapter(null)!=null) {
((Attribute)passDir.getAdapter(null)).setContainer(null);
}
DirectorUtils.getAdapter(result, null);
// no longer done. System properties must be set elsewhere, e.g. in a hmi.ini file.
// Parameter directorParam = (Parameter) result.getAttribute("Properties File", Parameter.class);
// directorParam.setExpression(Configuration.getPasserelleConfDirectory() + "systemproperties.txt");