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, LogEnabled, ProfileLS, Serviceable, ThreadSafe
- public class MapProfileLS
- extends AbstractLogEnabled
- implements Serviceable, ProfileLS, ThreadSafe, Disposable
This implementation uses Castor to load/save the profiles.
- Version:
- $Id: MapProfileLS.java 328453 2005-10-25 19:08:53Z cziegeler $
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
- See Also:
Disposable.dispose()
service
public void service(ServiceManager manager)
throws ServiceException
- Specified by:
service
in interface Serviceable
- Throws:
ServiceException
- See Also:
Serviceable.service(org.apache.avalon.framework.service.ServiceManager)
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
- See Also:
ProfileLS.loadProfile(java.lang.Object, java.util.Map)
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
- See Also:
ProfileLS.saveProfile(java.lang.Object, java.util.Map, java.lang.Object)
getValidity
public SourceValidity getValidity(Object key,
Map parameters)
- Specified by:
getValidity
in interface ProfileLS
- See Also:
ProfileLS.getValidity(java.lang.Object, java.util.Map)
Copyright ? 1999-2005 The Apache Software Foundation. All Rights Reserved.