Class BundleWebAppProvider

    • Method Detail

      • bundleAdded

        public boolean bundleAdded​(org.osgi.framework.Bundle bundle)
                            throws java.lang.Exception
        A bundle has been added that could be a webapp
        Specified by:
        bundleAdded in interface BundleProvider
        Parameters:
        bundle - the bundle
        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 webapp we deployed, undeploy it.
        Specified by:
        bundleRemoved in interface BundleProvider
        Parameters:
        bundle - the bundle
        Returns:
        true if this was a webapp we had deployed, false otherwise
        Throws:
        java.lang.Exception