Class BundleInfoLogger
java.lang.Object
org.opencastproject.kernel.bundleinfo.BundleInfoLogger
- All Implemented Interfaces:
EventListener,org.osgi.framework.BundleListener
Log information about bundle build versions. The bundle needs to have the manifest header "Build-Number" set.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidactivate(org.osgi.service.component.ComponentContext cc) OSGi callbackvoidbundleChanged(org.osgi.framework.BundleEvent event) voidOSGi callbackvoidsetDb(BundleInfoDb db) OSGi DIvoidunsetDb(BundleInfoDb db) OSGi DI
-
Constructor Details
-
BundleInfoLogger
public BundleInfoLogger()
-
-
Method Details
-
setDb
OSGi DI -
unsetDb
OSGi DI -
activate
public void activate(org.osgi.service.component.ComponentContext cc) OSGi callback -
deactivate
public void deactivate()OSGi callback -
bundleChanged
public void bundleChanged(org.osgi.framework.BundleEvent event) - Specified by:
bundleChangedin interfaceorg.osgi.framework.BundleListener
-