@Singleton public class ContextFactory extends Object
Constructor and Description |
---|
ContextFactory() |
Modifier and Type | Method and Description |
---|---|
WebContext |
createWebContext(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
javax.servlet.ServletContext servletContext) |
static ContextFactory |
getInstance()
Deprecated.
since 4.5, use IoC, i.e., declare a dependency on ContextFactory in your component.
|
SystemContext |
getSystemContext()
Deprecated.
since 4.5, use IoC, i.e., declare a dependency on SystemContext in your component.
|
public WebContext createWebContext(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, javax.servlet.ServletContext servletContext)
@Deprecated public SystemContext getSystemContext()
SystemContext
.@Deprecated public static ContextFactory getInstance()
Copyright © 2003–2015 Magnolia International Ltd.. All rights reserved.