org.springframework.beans.factory.xml.PluggableSchemaResolver Java Examples
The following examples show how to use
org.springframework.beans.factory.xml.PluggableSchemaResolver.
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: TestApplicationContext.java From cxf with Apache License 2.0 | 4 votes |
@Override protected void initBeanDefinitionReader(XmlBeanDefinitionReader reader) { ClassLoader cl = Thread.currentThread().getContextClassLoader(); reader.setEntityResolver(new BusEntityResolver(cl, new BeansDtdResolver(), new PluggableSchemaResolver(cl))); }
Example #2
Source File: BusApplicationContext.java From cxf with Apache License 2.0 | 4 votes |
void setEntityResolvers(XmlBeanDefinitionReader reader) { ClassLoader cl = Thread.currentThread().getContextClassLoader(); reader.setEntityResolver(new BusEntityResolver(cl, new BeansDtdResolver(), new PluggableSchemaResolver(cl))); }