FormInitializer.java 文件源码

java
阅读 15 收藏 0 点赞 0 评论 0

项目:singular-server 作者:
public void init(ServletContext ctx, AnnotationConfigWebApplicationContext applicationContext) {
    Class<?> documentFactory = documentFactory();
    if (documentFactory != null) {
        applicationContext.register(documentFactory);
    } else {
        logger.info(SINGULAR_FORM, " Null Form Document Factory, skipping Form Document Factory configuration. ");
    }
    Class<?> typeLoader = typeLoader();
    if (typeLoader != null) {
        applicationContext.register(typeLoader);
    } else {
        logger.info(SINGULAR_FORM, " Null Form Type Loader, skipping Form Type Loader configuration. ");
    }
    Class<?> formConfigFactory = formConfigFactory();
    if (formConfigFactory != null) {
        applicationContext.register(formConfigFactory);
    } else {
        logger.info(SINGULAR_FORM, " Null Form Config Factory, skipping Form Config Factory configuration. ");
    }
}
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号