Class BundleContextProvider

    • Method Detail

      • doStart

        protected void doStart()
                        throws java.lang.Exception
        Overrides:
        doStart in class AbstractLifeCycle
        Throws:
        java.lang.Exception
      • doStop

        protected void doStop()
                       throws java.lang.Exception
        Overrides:
        doStop in class AbstractLifeCycle
        Throws:
        java.lang.Exception
      • bundleAdded

        public boolean bundleAdded​(org.osgi.framework.Bundle bundle)
                            throws java.lang.Exception
        Specified by:
        bundleAdded in interface BundleProvider
        Throws:
        java.lang.Exception
      • bundleRemoved

        public boolean bundleRemoved​(org.osgi.framework.Bundle bundle)
                              throws java.lang.Exception
        Bundle has been removed. If it was a context we deployed, undeploy it.
        Specified by:
        bundleRemoved in interface BundleProvider
        Parameters:
        bundle - the bundle
        Returns:
        true if this was a context we had deployed, false otherwise
        Throws:
        java.lang.Exception