com.github.ddth.commons.osgi.README.md Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of ddth-commons-core Show documentation
Show all versions of ddth-commons-core Show documentation
DDTH's Java Common Libraries and Utilities
# com.github.ddth.commons.osgi
OSGi utility and helper classes.
***Maven***
```xml
com.github.ddth
ddth-commons-core
${ddth_commons_version}
```
## Class `AbstractActivator`
An abstract implementation of `BundleActivator`. OSGi bundle can extend this class as a starting point to implement its bundle activator. `AbstractActivator` provides following utilities:
- Clean-up when `BundleActivator.start(BundleContext)` fails.
- Notify when another version of the same bundle exists.
- Helper method to extract bundle content to a directory on disk.
- Helper method for bundle to register services.
## Class `AbstractSpringActivator`
This abstract implementation of `BundleActivator` help you implement Spring-aware bundles within OSGi environment.
© 2015 - 2025 Weber Informatics LLC | Privacy Policy