org.ops4j.pax.url.cache.internal
Class ConfigurationImpl
java.lang.Object
org.ops4j.util.property.PropertyStore
org.ops4j.pax.url.cache.internal.ConfigurationImpl
- All Implemented Interfaces:
- Configuration
public class ConfigurationImpl
- extends org.ops4j.util.property.PropertyStore
- implements Configuration
"cache:" protocol configuration implementation.
- Since:
- 0.6.0, June 02, 2009
- Author:
- Alin Dreghiciu
Constructor Summary |
ConfigurationImpl(org.ops4j.util.property.PropertyResolver propertyResolver)
Creates a new service configuration. |
Methods inherited from class org.ops4j.util.property.PropertyStore |
contains, get, set |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ConfigurationImpl
public ConfigurationImpl(org.ops4j.util.property.PropertyResolver propertyResolver)
- Creates a new service configuration.
- Parameters:
propertyResolver
- propertyResolver used to resolve properties; mandatory
getWorkingDirectory
public File getWorkingDirectory()
- Returns the root directory to be used for storage.
Defaults to "./cache".
- Specified by:
getWorkingDirectory
in interface Configuration
- Returns:
- the root directory
Copyright © 2006-2013 OPS4J - Open Participation Software for Java. All Rights Reserved.