// the composite has been created, now register its children
if (module != null) {
try {
ctx.registerModelObject(module);
} catch (ConfigurationException e) {
ContextCreationException cce = new ContextCreationException("Error creating context", e);
cce.setIdentifier(getName());
throw cce;
}
}
return ctx;