|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface BundleFramework
| Field Summary | |
|---|---|
static String |
SHARED_BUNDLE_FRAMEWORK
|
| Method Summary | |
|---|---|
void |
close()
Closes the framework and any associated resource |
List<org.osgi.framework.Bundle> |
getBundles()
Returns a list of bundles currently installed in this framework |
org.osgi.framework.Bundle |
getFrameworkBundle()
Returns the OSGi bundle representing the framework |
org.osgi.framework.BundleContext |
getIsolatedBundleContext()
Returns the bundle context for the framework. |
void |
init()
Initialises the framework (but does not start the framework bundle) |
org.osgi.framework.Bundle |
install(BundleRepository.BundleSuggestion suggestion,
AriesApplication app)
Installs a bundle to this framework. |
void |
start()
Starts the framework and the framework bundle |
void |
start(org.osgi.framework.Bundle b)
Start a previously installed bundle in this framework. |
void |
stop(org.osgi.framework.Bundle b)
Stop a previously installed bundle in this framework. |
void |
uninstall(org.osgi.framework.Bundle b)
Removes a bundle from this framework |
| Field Detail |
|---|
static final String SHARED_BUNDLE_FRAMEWORK
| Method Detail |
|---|
void init()
throws org.osgi.framework.BundleException
org.osgi.framework.BundleException
void start()
throws org.osgi.framework.BundleException
org.osgi.framework.BundleException
void close()
throws org.osgi.framework.BundleException
org.osgi.framework.BundleException
org.osgi.framework.Bundle install(BundleRepository.BundleSuggestion suggestion,
AriesApplication app)
throws org.osgi.framework.BundleException
suggestion - The information required to install the bundleapp - The application with which this install is associated
org.osgi.framework.BundleException
void uninstall(org.osgi.framework.Bundle b)
throws org.osgi.framework.BundleException
b - The bundle to remove
org.osgi.framework.BundleException
void start(org.osgi.framework.Bundle b)
throws org.osgi.framework.BundleException
b -
org.osgi.framework.BundleException
void stop(org.osgi.framework.Bundle b)
throws org.osgi.framework.BundleException
b -
org.osgi.framework.BundleExceptionorg.osgi.framework.BundleContext getIsolatedBundleContext()
org.osgi.framework.Bundle getFrameworkBundle()
List<org.osgi.framework.Bundle> getBundles()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||