类 ContextLoader
- java.lang.Object
-
- org.beangle.inject.spring.web.ContextLoader
-
public class ContextLoader extends Object
Spring context loader- 从以下版本开始:
- 3.0
- 作者:
- chaostone
-
-
字段概要
字段 修饰符和类型 字段 说明 static StringAPPLICATION_CONTEXT_ID_PREFIXstatic StringCONFIG_LOCATION_PARAMstatic StringCONTEXT_CLASS_PARAMstatic StringROOT_WEB_APPLICATION_CONTEXT_ATTRIBUTE
-
构造器概要
构造器 构造器 说明 ContextLoader()
-
方法概要
所有方法 静态方法 实例方法 具体方法 修饰符和类型 方法 说明 voidcloseApplicationContext(jakarta.servlet.ServletContext servletContext)protected voidconfigureAndRefreshApplicationContext(org.springframework.context.ConfigurableApplicationContext wac, jakarta.servlet.ServletContext sc)protected org.springframework.context.ConfigurableApplicationContextcreateApplicationContext(jakarta.servlet.ServletContext sc)protected voidcustomizeContext(jakarta.servlet.ServletContext servletContext, org.springframework.context.ConfigurableApplicationContext applicationContext)protected Class<?>determineContextClass(jakarta.servlet.ServletContext servletContext)static org.springframework.context.ConfigurableApplicationContextgetContext(jakarta.servlet.ServletContext servletContext)org.springframework.context.ApplicationContextinitApplicationContext(jakarta.servlet.ServletContext servletContext)
-
-
-
方法详细资料
-
createApplicationContext
protected org.springframework.context.ConfigurableApplicationContext createApplicationContext(jakarta.servlet.ServletContext sc)
-
initApplicationContext
public org.springframework.context.ApplicationContext initApplicationContext(jakarta.servlet.ServletContext servletContext)
-
configureAndRefreshApplicationContext
protected void configureAndRefreshApplicationContext(org.springframework.context.ConfigurableApplicationContext wac, jakarta.servlet.ServletContext sc)
-
customizeContext
protected void customizeContext(jakarta.servlet.ServletContext servletContext, org.springframework.context.ConfigurableApplicationContext applicationContext)
-
determineContextClass
protected Class<?> determineContextClass(jakarta.servlet.ServletContext servletContext)
-
closeApplicationContext
public void closeApplicationContext(jakarta.servlet.ServletContext servletContext)
-
getContext
public static org.springframework.context.ConfigurableApplicationContext getContext(jakarta.servlet.ServletContext servletContext)
-
-