Class SpringStateService

  • All Implemented Interfaces:
    EventListener, org.apache.karaf.bundle.core.BundleStateService, org.osgi.framework.BundleListener, org.springframework.osgi.context.event.OsgiBundleApplicationContextListener

    public class SpringStateService
    extends Object
    implements org.springframework.osgi.context.event.OsgiBundleApplicationContextListener, org.osgi.framework.BundleListener, org.apache.karaf.bundle.core.BundleStateService
    • Constructor Detail

      • SpringStateService

        public SpringStateService()
    • Method Detail

      • getName

        public String getName()
        Specified by:
        getName in interface org.apache.karaf.bundle.core.BundleStateService
      • getState

        public org.apache.karaf.bundle.core.BundleState getState​(org.osgi.framework.Bundle bundle)
        Specified by:
        getState in interface org.apache.karaf.bundle.core.BundleStateService
      • getDiag

        public String getDiag​(org.osgi.framework.Bundle bundle)
        Specified by:
        getDiag in interface org.apache.karaf.bundle.core.BundleStateService
      • onOsgiApplicationEvent

        public void onOsgiApplicationEvent​(org.springframework.osgi.context.event.OsgiBundleApplicationContextEvent event)
        Specified by:
        onOsgiApplicationEvent in interface org.springframework.osgi.context.event.OsgiBundleApplicationContextListener
      • bundleChanged

        public void bundleChanged​(org.osgi.framework.BundleEvent event)
        Specified by:
        bundleChanged in interface org.osgi.framework.BundleListener