All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.github.datalking.web.context.WebApplicationContext Maven / Gradle / Ivy

package com.github.datalking.web.context;

import com.github.datalking.context.ApplicationContext;

import javax.servlet.ServletContext;

/**
 * we容器配置接口 只读
 *
 * @author yaoo on 4/25/18
 */
public interface WebApplicationContext extends ApplicationContext {

    /**
     * 根上下文/根容器在ServletContext中的名称
     */
    String ROOT_WEB_APPLICATION_CONTEXT_ATTRIBUTE = WebApplicationContext.class.getName() + ".ROOT";

    String SCOPE_REQUEST = "request";

    String SCOPE_SESSION = "session";

    String SCOPE_GLOBAL_SESSION = "globalSession";

    String SCOPE_APPLICATION = "application";

    String SERVLET_CONTEXT_BEAN_NAME = "servletContext";

    String CONTEXT_PARAMETERS_BEAN_NAME = "contextParameters";

    String CONTEXT_ATTRIBUTES_BEAN_NAME = "contextAttributes";

    /**
     * 获取web容器的ServletContext
     */
    ServletContext getServletContext();

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy