assert (configuration != null) : "Configuration was null";
configs.add(configuration);
if (getLifecycleState() == RUNNING) {
Context context = configuration.createContext();
if (!(context instanceof CompositeContext)) {
ScopeInitializationException e = new ScopeInitializationException("Context not an composite type");
e.setIdentifier(context.getName());
throw e;
}
CompositeContext compositeCtx = (CompositeContext) context;
compositeCtx.start();
if (moduleScopeStarted) {