public class WebAppContext extends Object implements AppContext
Modifier and Type | Field and Description |
---|---|
protected static org.slf4j.Logger |
LOG |
static String |
WEB_CONTEXT_NAME |
Constructor and Description |
---|
WebAppContext(javax.servlet.ServletContext context,
AppContext parent)
This constructor was needed for the SimpleWebAppContextLoader (now deprecated).
|
protected static final org.slf4j.Logger LOG
public static final String WEB_CONTEXT_NAME
public WebAppContext(javax.servlet.ServletContext context, AppContext parent)
context
- servlet contextparent
- application contextpublic void init()
init
in interface AppContext
public final <T> T getBean(String name, Class<T> c)
getBean
in interface AppContext
Copyright © 2010–2017. All rights reserved.