I am trying to implement the BundleListener interface to retrieve bundle changes. I am trying to get it work, but my onChanged() method does not seem to get called. Maybe it is because it is not being implemented in an "Activator" class. I have no clue.
I would like to get the latest bundle changes because I want to develop an application where bundles can be installed as plugins at runtime. I thought by using the BundleListener interface, I could sort of authorize the Bundles that can be installed in my Apache Karaf environment.
Hello again,
I am trying to implement the BundleListener interface to retrieve bundle changes. I am trying to get it work, but my onChanged() method does not seem to get called. Maybe it is because it is not being implemented in an "Activator" class. I have no clue.
I would like to get the latest bundle changes because I want to develop an application where bundles can be installed as plugins at runtime. I thought by using the BundleListener interface, I could sort of authorize the Bundles that can be installed in my Apache Karaf environment.
Excerpt from Blueprint.xml
My class
public class MyBundleListener implements BundleListener {
}