org.ops4j.pax.url.cache.internal
Class ConfigurationImpl

java.lang.Object
  extended by org.ops4j.util.property.PropertyStore
      extended by 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.
 
Method Summary
 java.io.File getWorkingDirectory()
          Returns the root directory to be used for storage.
 
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
 

Constructor Detail

ConfigurationImpl

public ConfigurationImpl(org.ops4j.util.property.PropertyResolver propertyResolver)
Creates a new service configuration.

Parameters:
propertyResolver - propertyResolver used to resolve properties; mandatory
Method Detail

getWorkingDirectory

public java.io.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-2011 OPS4J - Open Participation Software for Java. All Rights Reserved.