org.hippoecm.hst.site.request
Class HstRequestContextComponentImpl

java.lang.Object
  extended by org.hippoecm.hst.site.request.HstRequestContextComponentImpl
All Implemented Interfaces:
HstRequestContextComponent

public class HstRequestContextComponentImpl
extends Object
implements HstRequestContextComponent

HstRequestContextComponentImpl

Version:
$Id: HstRequestContextComponentImpl.java 23030 2010-06-07 06:50:46Z adouma $

Field Summary
protected  ContainerConfiguration config
           
protected  ContextCredentialsProvider contextCredentialsProvider
           
protected  javax.jcr.Repository repository
           
 
Constructor Summary
HstRequestContextComponentImpl(javax.jcr.Repository repository, ContextCredentialsProvider contextCredentialsProvider, ContainerConfiguration config)
           
 
Method Summary
 HstMutableRequestContext create(boolean portletContext)
          Creates a mutable request context for either a servlet or portlet context.
 void release(HstRequestContext context)
          Release a request context back to the context pool.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

repository

protected javax.jcr.Repository repository

contextCredentialsProvider

protected ContextCredentialsProvider contextCredentialsProvider

config

protected ContainerConfiguration config
Constructor Detail

HstRequestContextComponentImpl

public HstRequestContextComponentImpl(javax.jcr.Repository repository,
                                      ContextCredentialsProvider contextCredentialsProvider,
                                      ContainerConfiguration config)
Method Detail

create

public HstMutableRequestContext create(boolean portletContext)
Description copied from interface: HstRequestContextComponent
Creates a mutable request context for either a servlet or portlet context. Note: this does not yet initializes a newly created HstPortletRequestContext.

Specified by:
create in interface HstRequestContextComponent
Returns:

release

public void release(HstRequestContext context)
Description copied from interface: HstRequestContextComponent
Release a request context back to the context pool.

Specified by:
release in interface HstRequestContextComponent


Copyright © 2008-2012 Hippo. All Rights Reserved.