@Singleton public class WebContextFactoryImpl extends Object implements WebContextFactory, Serializable
WebContextFactory
, providing a hook to instantiate custom implementations of AggregationState
.Constructor and Description |
---|
WebContextFactoryImpl() |
Modifier and Type | Method and Description |
---|---|
WebContext |
createWebContext(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
javax.servlet.ServletContext servletContext) |
protected AggregationState |
newAggregationState()
Override this method if you need to provide a specific subclass of AggregationState.
|
public WebContext createWebContext(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, javax.servlet.ServletContext servletContext)
createWebContext
in interface WebContextFactory
protected AggregationState newAggregationState()
Copyright © 2003–2016 Magnolia International Ltd.. All rights reserved.