org.apache.cocoon.components.persistence
Class RequestDataStoreImpl

java.lang.Object
  extended by org.apache.avalon.framework.logger.AbstractLogEnabled
      extended by org.apache.cocoon.components.persistence.RequestDataStoreImpl
All Implemented Interfaces:
Component, Contextualizable, LogEnabled, ThreadSafe, RequestDataStore

public class RequestDataStoreImpl
extends AbstractLogEnabled
implements Component, ThreadSafe, RequestDataStore, Contextualizable

The default implementation

Since:
2.1.1
Version:
CVS $Id: RequestDataStoreImpl.html 1304258 2012-03-23 10:09:27Z ilgrosso $
Author:
Carsten Ziegeler

Field Summary
protected  Context context
           
protected  String globalRequestDataKey
           
protected  String requestDataKey
           
 
Fields inherited from interface org.apache.cocoon.components.persistence.RequestDataStore
ROLE
 
Constructor Summary
RequestDataStoreImpl()
           
 
Method Summary
 void contextualize(Context context)
           
 Object getGlobalRequestData(String key)
           
 Object getRequestData(String key)
           
 void removeGlobalRequestData(String key)
           
 void removeRequestData(String key)
           
 void setGlobalRequestData(String key, Object value)
           
 void setRequestData(String key, Object value)
           
 
Methods inherited from class org.apache.avalon.framework.logger.AbstractLogEnabled
enableLogging, getLogger, setupLogger, setupLogger, setupLogger
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

context

protected Context context

requestDataKey

protected final String requestDataKey

globalRequestDataKey

protected final String globalRequestDataKey
Constructor Detail

RequestDataStoreImpl

public RequestDataStoreImpl()
Method Detail

contextualize

public void contextualize(Context context)
                   throws ContextException
Specified by:
contextualize in interface Contextualizable
Throws:
ContextException

getGlobalRequestData

public Object getGlobalRequestData(String key)
Specified by:
getGlobalRequestData in interface RequestDataStore

getRequestData

public Object getRequestData(String key)
Specified by:
getRequestData in interface RequestDataStore

removeGlobalRequestData

public void removeGlobalRequestData(String key)
Specified by:
removeGlobalRequestData in interface RequestDataStore

removeRequestData

public void removeRequestData(String key)
Specified by:
removeRequestData in interface RequestDataStore

setGlobalRequestData

public void setGlobalRequestData(String key,
                                 Object value)
Specified by:
setGlobalRequestData in interface RequestDataStore

setRequestData

public void setRequestData(String key,
                           Object value)
Specified by:
setRequestData in interface RequestDataStore


Copyright © 1999-2010 The Apache Software Foundation. All Rights Reserved.