Implementing OSGi bundles state monitoring