info.magnolia.context
Class ContextFactory
java.lang.Object
info.magnolia.context.ContextFactory
public class ContextFactory
- extends Object
Default context provider.
- Version:
- $Id: $
- Author:
- had
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ContextFactory
public ContextFactory()
createWebContext
public WebContext createWebContext(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
javax.servlet.ServletContext servletContext)
- Returns:
- new instance of the web context on every call.
getSystemContext
public SystemContext getSystemContext()
- Returns:
- singleton instance of the
SystemContext
.
getInstance
public static ContextFactory getInstance()
- Returns:
- singleton instance of itself.
Copyright © 2003-2012 Magnolia International Ltd.. All Rights Reserved.