org.apache.cocoon.portal.aspect.impl
Class MemoryAspectDataStore
java.lang.Object
org.apache.avalon.framework.logger.AbstractLogEnabled
org.apache.cocoon.portal.aspect.impl.MemoryAspectDataStore
- All Implemented Interfaces:
- Component, LogEnabled, ThreadSafe, AspectDataStore
public class MemoryAspectDataStore
- extends AbstractLogEnabled
- implements Component, ThreadSafe, AspectDataStore
An aspect data store that holds the aspects in memory.
- Version:
- CVS $Id: MemoryAspectDataStore.html 1304258 2012-03-23 10:09:27Z ilgrosso $
- Author:
- Carsten Ziegeler
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
objectMap
protected final Map objectMap
MemoryAspectDataStore
public MemoryAspectDataStore()
getMap
protected Map getMap(Aspectalizable owner,
boolean create)
- Get the aspect map for an object
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
Copyright © 1999-2010 The Apache Software Foundation. All Rights Reserved.