info.magnolia.context
Class WebContextFactoryImpl

java.lang.Object
  extended by info.magnolia.context.WebContextFactoryImpl
All Implemented Interfaces:
WebContextFactory, Serializable

@Singleton
public class WebContextFactoryImpl
extends Object
implements WebContextFactory, Serializable

Default WebContextFactory, providing a hook to instantiate custom implementations of AggregationState.

Version:
$Revision: $ ($Author: $)
Author:
gjoseph
See Also:
Serialized Form

Constructor Summary
WebContextFactoryImpl()
           
 
Method Summary
 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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WebContextFactoryImpl

public WebContextFactoryImpl()
Method Detail

createWebContext

public WebContext createWebContext(javax.servlet.http.HttpServletRequest request,
                                   javax.servlet.http.HttpServletResponse response,
                                   javax.servlet.ServletContext servletContext)
Specified by:
createWebContext in interface WebContextFactory

newAggregationState

protected AggregationState newAggregationState()
Override this method if you need to provide a specific subclass of AggregationState.



Copyright © 2003-2012 Magnolia International Ltd.. All Rights Reserved.