public class Felix extends Framework
| Constructor and Description |
|---|
Felix(File base)
Create a instance of Karaf running with Felix in the given base directory
|
| Modifier and Type | Method and Description |
|---|---|
void |
disableDebug(File directory)
Disable the OSGI framework's debug logging
|
void |
enableDebug(File directory)
Enable the OSGi framework's debug logging
|
String |
getName()
Get the underlying OSGi framework name
|
getConfig, readPropertyFile, removeConfigProperty, saveConfigProperties, setConfigPropertypublic static final String NAME
public Felix(File base)
base - the base directorypublic String getName()
Frameworkpublic void enableDebug(File directory) throws IOException
FrameworkenableDebug in class Frameworkdirectory - the directory containing the Karaf installationIOException - when a problem occurs configuring debug settingspublic void disableDebug(File directory) throws IOException
FrameworkdisableDebug in class Frameworkdirectory - the Karaf base installation directoryIOException - when a problem occurs removing debug configuration settingsCopyright © 2007-2014 FuseSource, Corp.. All Rights Reserved.