Package com.alibaba.citrus.service.resource.support

Examples of com.alibaba.citrus.service.resource.support.ResourceLoadingSupport


    private        ResourceDataSource    rds;

    @BeforeClass
    public static void initFactory() {
        factory = new XmlApplicationContext(new FileSystemResource(new File(srcdir, "services.xml")));
        factory.setResourceLoadingExtender(new ResourceLoadingSupport(factory));
    }
View Full Code Here


    /** 从一个现成的<code>Resource</code>中创建spring容器,并初始化。 */
    public ResourceLoadingXmlApplicationContext(Resource resource, ApplicationContext parentContext, boolean refresh)
            throws BeansException {
        super(parentContext);
        this.configResource = resource;
        setResourceLoadingExtender(new ResourceLoadingSupport(this));

        if (refresh) {
            refresh();
        }
    }
View Full Code Here

     */
    public ResourceLoadingXmlApplicationContext(String[] configLocations, ApplicationContext parentContext,
                                                boolean refresh) {
        super(parentContext);
        setConfigLocations(configLocations);
        setResourceLoadingExtender(new ResourceLoadingSupport(this));

        if (refresh) {
            refresh();
        }
    }
View Full Code Here

* @author Michael Zhou
* @see XmlWebApplicationContext
*/
public class ResourceLoadingXmlWebApplicationContext extends XmlWebApplicationContext {
    public ResourceLoadingXmlWebApplicationContext() {
        setResourceLoadingExtender(new ResourceLoadingSupport(this));
    }
View Full Code Here

     */
    public ResourceLoadingXmlApplicationContext(Resource resource, ApplicationContext parentContext, boolean refresh)
            throws BeansException {
        super(parentContext);
        this.configResource = resource;
        setResourceLoadingExtender(new ResourceLoadingSupport(this));

        if (refresh) {
            refresh();
        }
    }
View Full Code Here

     */
    public ResourceLoadingXmlApplicationContext(String[] configLocations, ApplicationContext parentContext,
                                                boolean refresh) {
        super(parentContext);
        setConfigLocations(configLocations);
        setResourceLoadingExtender(new ResourceLoadingSupport(this));

        if (refresh) {
            refresh();
        }
    }
View Full Code Here

* @author Michael Zhou
* @see XmlWebApplicationContext
*/
public class ResourceLoadingXmlWebApplicationContext extends XmlWebApplicationContext {
    public ResourceLoadingXmlWebApplicationContext() {
        setResourceLoadingExtender(new ResourceLoadingSupport(this));
    }
View Full Code Here

TOP

Related Classes of com.alibaba.citrus.service.resource.support.ResourceLoadingSupport

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.