public interface IBootstrapService
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
SERVICE_NAME
Reports the class name representing this interface.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addBundle(java.lang.String bundleName,
int logLevel)
adds a bundle to the bootstrap service.xml file.
|
void |
findAndLoadBundle(java.lang.String bundleName,
java.lang.String logLevel)
finds and loads a specific bundle from the default bundlefiles directory.
|
void |
findAndLoadBundle(java.lang.String bundleName,
java.lang.String bundleDirectoryName,
java.lang.String logLevel)
finds and loads a specific bundle from the specified directory.
|
java.lang.String[] |
getFailedToLoadBundles()
returns a list of unsuccessfully loaded bundles that the @IBootstrapService attempted to load
|
java.lang.String[] |
getLoadedBundles()
returns a list of successfully loaded bundles that were loaded using the @IBootstrapService
|
java.lang.String[] |
getLoadedDropinBundles()
returns a list of successfully loaded 'dropin' bundles that were loaded using the @IBootstrapService
|
java.lang.String[] |
getLoadedJunitBundles()
returns a list of successfully loaded 'junit' bundles that were loaded using the @IBootstrapService
|
java.lang.String |
getLogLevel(java.lang.String bundleSymbolicName)
gets the log level as set in the services.xml file
|
void |
startBundle(java.lang.String directory,
java.lang.String bundleName)
starts a bundle that has been previously loaded via the Bootstrap service
|
void |
stopBundle(java.lang.String bundleSymbolicName)
stops a bundle that has been previously started via the Bootstrap service
|
void |
unloadBundle(java.lang.String bundleSymbolicName)
unloads (uninstalls) a bundle that has been previously installed to the framework.
|
static final java.lang.String SERVICE_NAME
java.lang.String[] getLoadedBundles()
String representing the bundle names that were loaded at ESF startupjava.lang.String[] getLoadedDropinBundles()
String representing the bundle names that were loaded at ESF startup
from the ESF dropins directoryjava.lang.String[] getLoadedJunitBundles()
String representing the bundle names that were loaded at ESF startup
from the ESF junit directoryjava.lang.String[] getFailedToLoadBundles()
String representing the bundle names that failed to load even though they were
defined in the services.xml file to be loadedjava.lang.String getLogLevel(java.lang.String bundleSymbolicName)
bundleSymbolicName - the symbolic name of the bundle to get the log level ofString representing the log level currently definedvoid findAndLoadBundle(java.lang.String bundleName,
java.lang.String logLevel)
bundleName - the symbolic name of the bundle to find and loadlogLevel - the ESF log level to usevoid findAndLoadBundle(java.lang.String bundleName,
java.lang.String bundleDirectoryName,
java.lang.String logLevel)
bundleName - the symbolic name of the bundle to find and loadbundleDirectoryName - the name of the directory where the bundle resideslogLevel - the ESF log level to usevoid startBundle(java.lang.String directory,
java.lang.String bundleName)
directory - the directory where the bundle is locatedbundleName - the name of the bundlevoid stopBundle(java.lang.String bundleSymbolicName)
bundleSymbolicName - the symbolic name of the bundle to startvoid unloadBundle(java.lang.String bundleSymbolicName)
bundleSymbolicName - the symbolic name of the bundle to uninstallvoid addBundle(java.lang.String bundleName,
int logLevel)
bundleName - the name of the bundle to addlogLevel - the ESF log level to useCopyright © 2009 Eurotech Inc. All rights reserved.