com.ivanzhangwb.interpose.core.InterposeClassPathApplicationContext.java Source code

Java tutorial

Introduction

Here is the source code for com.ivanzhangwb.interpose.core.InterposeClassPathApplicationContext.java

Source

/*
 * Copyright 2013 Alibaba.com All right reserved. This software is the confidential and proprietary information of
 * Alibaba.com ("Confidential Information"). You shall not disclose such Confidential Information and shall use it only
 * in accordance with the terms of the license agreement you entered into with Alibaba.com.
 */
package com.ivanzhangwb.interpose.core;

import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;

/**
 * InterposeApplicationContext.java??Spring
 * 
 * @author zhangwenbo Jan 10, 2013 9:49:59 AM
 */
public class InterposeClassPathApplicationContext extends ClassPathXmlApplicationContext {

    public InterposeClassPathApplicationContext(ApplicationContext applicationContext) {
        this(new String[] { "interpose-applicationContext.xml" }, true, applicationContext);
    }

    public InterposeClassPathApplicationContext(String[] configLocations, boolean refresh,
            ApplicationContext parent) {
        super(configLocations, refresh, parent);
    }
}