Simple proof-of-concept of how to embed Equinox OSGi runtime in Java program.
Java
Switch branches/tags
Nothing to show
Latest commit 453d8a3 Nov 11, 2012 @sarxos Add README
Permalink
Failed to load latest commit information.
configuration
dropins
libs
plugins
src/main/java/com/github/sarxos/equinox
.classpath
.gitignore
.project
README.md
pom.xml

README.md

equinox-launcher

This is simple POC of how to embed Equinox OSGi runtime in POJ application. The same approach as presented in Launcher class can be used within any other Java code. Depending on your need you can choose which bundles you would like to start while initialization. By default I added few which I'm personally using in various applications.

How To Run

  1. Equinox SDK has to be downloaded first to run Launcher.
  2. Extract downloaded archive and copy all files from plugins directory into plugins in this project.
  3. Include your custom JARs in libs directory or add them as dependency in pom.xml.
  4. Execute mvn clean install
  5. Run Launcher class.

All bundles you put in dropins directory will be automatically deployed.