This repository has been archived by the owner on Jul 12, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 7
OSGi Integration
Thomas Diesler edited this page Oct 11, 2013
·
10 revisions
Gravia provides a number of bundles as Maven artefacts
<dependency>
<groupId>org.jboss.gravia</groupId>
<artifactId>gravia-resource</artifactId>
</dependency>
<dependency>
<groupId>org.jboss.gravia</groupId>
<artifactId>gravia-runtime-api</artifactId>
</dependency>
<dependency>
<groupId>org.jboss.gravia</groupId>
<artifactId>gravia-runtime-osgi</artifactId>
</dependency>
Gravia works with already resolved Bundles that have a valid ClassLoader. In this case with the ClassLoader provided by the Framework.
Before a Module becomes operational the OSGi Runtime does the following
This is done by tracking resolved Bundles in the Framework. Any Bundle can also be a Gravia Module
When a bundle gets uninstalled OSGi Runtime does the following
- Stop the Gravia Module
- Uninstall the Gravia Module from the Runtime
Have a look at Defining a Module
Have a look at Activating a Module