org.apache.cocoon.portal.aspect.impl
Class SessionAspectDataStore

java.lang.Object
  extended by org.apache.avalon.framework.logger.AbstractLogEnabled
      extended by org.apache.cocoon.portal.aspect.impl.SessionAspectDataStore
All Implemented Interfaces:
Component, Contextualizable, LogEnabled, ThreadSafe, AspectDataStore
Direct Known Subclasses:
PersistentAspectDataStore

public class SessionAspectDataStore
extends AbstractLogEnabled
implements Component, ThreadSafe, AspectDataStore, Contextualizable

An aspect data store is a component that manages aspect data objects.

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

Field Summary
protected  Context context
           
 
Fields inherited from interface org.apache.cocoon.portal.aspect.AspectDataStore
ROLE
 
Constructor Summary
SessionAspectDataStore()
           
 
Method Summary
 void contextualize(Context context)
           
 Object getAspectData(Aspectalizable owner, String aspectName)
           
protected  String getKey(Aspectalizable owner, String aspectName)
           
 boolean isPersistent()
          Is the data persistent
 void setAspectData(Aspectalizable owner, String aspectName, Object data)
           
 
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
Constructor Detail

SessionAspectDataStore

public SessionAspectDataStore()
Method Detail

getKey

protected String getKey(Aspectalizable owner,
                        String aspectName)

getAspectData

public Object getAspectData(Aspectalizable owner,
                            String aspectName)
Specified by:
getAspectData in interface AspectDataStore

setAspectData

public void setAspectData(Aspectalizable owner,
                          String aspectName,
                          Object data)
Specified by:
setAspectData in interface AspectDataStore

isPersistent

public boolean isPersistent()
Description copied from interface: AspectDataStore
Is the data persistent

Specified by:
isPersistent in interface AspectDataStore

contextualize

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


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