org.ow2.jonas.launcher.felix
Class DefaultConfigurationProvider
java.lang.Object
org.ow2.jonas.launcher.felix.DefaultConfigurationProvider
- All Implemented Interfaces:
- IConfigurationProvider
public class DefaultConfigurationProvider
- extends Object
- implements IConfigurationProvider
Default IConfigurationProvider for Apache Felix.
- Author:
- Guillaume Sauthier
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultConfigurationProvider
public DefaultConfigurationProvider()
getConfiguration
public Map<?,?> getConfiguration()
throws IOException
- Specified by:
getConfiguration in interface IConfigurationProvider
- Returns:
- a Felix default configuration.
- Throws:
IOException - configuration not found
getBundles
protected String getBundles(File directory)
throws IOException
- Parameters:
directory - Directory to look for bundles.
- Returns:
- A space (' ') separated list of URLs corresponding to the
files in the given directory. An empty String if the directory
does not exists.
- Throws:
IOException
Copyright © 2010 OW2 Consortium. All Rights Reserved.