return dependencyNotationParser.parseNotation(dependencyNotation);
}
public ClientModule createModule(Object dependencyNotation, Closure configureClosure) {
ClientModule clientModule = clientModuleNotationParser.parseNotation(dependencyNotation);
ModuleFactoryDelegate moduleFactoryDelegate = new ModuleFactoryDelegate(clientModule, this);
moduleFactoryDelegate.prepareDelegation(configureClosure);
if (configureClosure != null) {
configureClosure.call();
}
return clientModule;
}