Package org.xwiki.container.servlet
Class ServletApplicationContext
- java.lang.Object
-
- org.xwiki.container.AbstractApplicationContext
-
- org.xwiki.container.servlet.ServletApplicationContext
-
- All Implemented Interfaces:
ApplicationContext
@Deprecated(since="3.5M1") public class ServletApplicationContext extends AbstractApplicationContext
Deprecated.use the notion of Environment instead
-
-
Field Summary
Fields Modifier and Type Field Description protected static org.slf4j.Logger
LOGGER
Deprecated.The logger to log.
-
Constructor Summary
Constructors Constructor Description ServletApplicationContext(javax.servlet.ServletContext servletContext, org.xwiki.component.manager.ComponentManager componentManager)
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description URL
getResource(String resourceName)
Deprecated.InputStream
getResourceAsStream(String resourceName)
Deprecated.javax.servlet.ServletContext
getServletContext()
Deprecated.File
getTemporaryDirectory()
Deprecated.-
Methods inherited from class org.xwiki.container.AbstractApplicationContext
getPermanentDirectory
-
-
-
-
Method Detail
-
getServletContext
public javax.servlet.ServletContext getServletContext()
Deprecated.
-
getResourceAsStream
public InputStream getResourceAsStream(String resourceName)
Deprecated.
-
getResource
public URL getResource(String resourceName) throws MalformedURLException
Deprecated.- Throws:
MalformedURLException
-
getTemporaryDirectory
public File getTemporaryDirectory()
Deprecated.
-
-