log.debugf("@ChainBy(%s)", maker.getClass().getName());
return maker;
}
protected void evalSetup(NutConfig config, Class<?> mainModule) throws Exception {
SetupBy sb = mainModule.getAnnotation(SetupBy.class);
if (null != sb) {
if (log.isInfoEnabled())
log.info("Setup application...");
Setup setup = Loadings.evalObj(config, sb.value(), sb.args());
config.setAttributeIgnoreNull(Setup.class.getName(), setup);
setup.init(config);
}
}