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