org.springframework.beans.factory.xml.PluggableSchemaResolver源码实例Demo

类org.springframework.beans.factory.xml.PluggableSchemaResolver源码实例Demo

下面列出了org.springframework.beans.factory.xml.PluggableSchemaResolver 类实例代码,或者点击链接到github查看源代码,也可以在右侧发表评论。

源代码1 项目: cxf   文件: TestApplicationContext.java
@Override
protected void initBeanDefinitionReader(XmlBeanDefinitionReader reader) {
    ClassLoader cl = Thread.currentThread().getContextClassLoader();
    reader.setEntityResolver(new BusEntityResolver(cl, new BeansDtdResolver(),
        new PluggableSchemaResolver(cl)));
}
 
源代码2 项目: cxf   文件: BusApplicationContext.java
void setEntityResolvers(XmlBeanDefinitionReader reader) {
    ClassLoader cl = Thread.currentThread().getContextClassLoader();
    reader.setEntityResolver(new BusEntityResolver(cl, new BeansDtdResolver(),
        new PluggableSchemaResolver(cl)));
}
 
源代码评论
动弹
沙发等你来抢
 类方法
 同包方法