org.ow2.jonas.launcher.jonas
Interface IConfigurationProvider

All Known Implementing Classes:
DefaultConfigurationProvider

public interface IConfigurationProvider

Provides a gateway configuration.

Author:
Guillaume Sauthier

Method Summary
 java.util.SortedMap<java.lang.Integer,java.util.List<java.lang.String>> getAutoInstallBundles()
           
 java.util.SortedMap<java.lang.Integer,java.util.List<java.lang.String>> getAutoStartBundles()
           
 java.util.Map<java.lang.String,java.lang.String> getConfiguration()
           
 java.lang.ClassLoader getFrameworkClassLoader(java.lang.ClassLoader parentClassLoader)
           
 

Method Detail

getConfiguration

java.util.Map<java.lang.String,java.lang.String> getConfiguration()
                                                                  throws java.io.IOException
Returns:
an OSGi configuration.
Throws:
java.io.IOException - If the configuration couldn't be provided.

getAutoInstallBundles

java.util.SortedMap<java.lang.Integer,java.util.List<java.lang.String>> getAutoInstallBundles()
Returns:
list of the bundles to install and add it to the start level

getAutoStartBundles

java.util.SortedMap<java.lang.Integer,java.util.List<java.lang.String>> getAutoStartBundles()
Returns:
map of the bundles to "automatically start for a given level"

getFrameworkClassLoader

java.lang.ClassLoader getFrameworkClassLoader(java.lang.ClassLoader parentClassLoader)


Copyright © 2012 OW2 Consortium. All Rights Reserved.