Class Bootstrap
- java.lang.Object
-
- org.apache.sling.feature.launcher.impl.Bootstrap
-
public class Bootstrap extends Object
This is the bootstrap class.
-
-
Field Summary
Fields Modifier and Type Field Description static StringFELIX_FRAMEWORK_VERSIONThe Apache Felix Framework version used by default.
-
Constructor Summary
Constructors Constructor Description Bootstrap(LauncherConfig config, org.slf4j.Logger logger)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ClassLoadercreateClassLoader(Installation installation, Launcher launcher)Create the class loader.voidrun()
-
-
-
Field Detail
-
FELIX_FRAMEWORK_VERSION
public static final String FELIX_FRAMEWORK_VERSION
The Apache Felix Framework version used by default.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
Bootstrap
public Bootstrap(LauncherConfig config, org.slf4j.Logger logger)
-
-
Method Detail
-
run
public void run()
-
createClassLoader
public ClassLoader createClassLoader(Installation installation, Launcher launcher) throws Exception
Create the class loader.- Parameters:
installation- The launcher configuration- Returns:
- The classloader.
- Throws:
Exception- If anything goes wrong
-
-