org.apache.cocoon.portal.profile.impl
Class MapProfileLS
java.lang.Object
org.apache.avalon.framework.logger.AbstractLogEnabled
org.apache.cocoon.portal.profile.impl.MapProfileLS
- All Implemented Interfaces:
- Disposable, Component, LogEnabled, Serviceable, ThreadSafe, ProfileLS
public class MapProfileLS
- extends AbstractLogEnabled
- implements Component, Serviceable, ProfileLS, ThreadSafe, Disposable
This implementation uses Castor to load/save the profiles.
- Version:
- CVS $Id: MapProfileLS.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 |
manager
protected ServiceManager manager
- The component manager
xpathProcessor
protected XPathProcessor xpathProcessor
- The XPath Processor
MapProfileLS
public MapProfileLS()
dispose
public void dispose()
- Specified by:
dispose
in interface Disposable
service
public void service(ServiceManager manager)
throws ServiceException
- Specified by:
service
in interface Serviceable
- Throws:
ServiceException
getURI
protected String getURI(Map keyMap)
throws Exception
- Throws:
Exception
getSaveURI
protected StringBuffer getSaveURI(Map keyMap)
throws Exception
- Throws:
Exception
loadProfile
public Object loadProfile(Object key,
Map parameters)
throws Exception
- Description copied from interface:
ProfileLS
- Load a profile
- Specified by:
loadProfile
in interface ProfileLS
- Throws:
Exception
saveProfile
public void saveProfile(Object key,
Map parameters,
Object profile)
throws Exception
- Description copied from interface:
ProfileLS
- Save a profile
- Specified by:
saveProfile
in interface ProfileLS
- Throws:
Exception
getValidity
public SourceValidity getValidity(Object key,
Map parameters)
- Specified by:
getValidity
in interface ProfileLS
Copyright © 1999-2010 The Apache Software Foundation. All Rights Reserved.