Class ServiceWebAppProvider

    • Method Detail

      • serviceAdded

        public boolean serviceAdded​(org.osgi.framework.ServiceReference serviceRef,
                                    ContextHandler context)
        A webapp that was deployed as an osgi service has been added, and we want to deploy it.
        Specified by:
        serviceAdded in interface ServiceProvider
        Parameters:
        context - the webapp
      • serviceRemoved

        public boolean serviceRemoved​(org.osgi.framework.ServiceReference serviceRef,
                                      ContextHandler context)
        Specified by:
        serviceRemoved in interface ServiceProvider
        Parameters:
        context - the webapp
      • doStart

        protected void doStart()
                        throws java.lang.Exception
        Description copied from class: AbstractLifeCycle
        Method to override to start the lifecycle
        Overrides:
        doStart in class AbstractLifeCycle
        Throws:
        AbstractLifeCycle.StopException - If thrown, the lifecycle will immediately be stopped.
        java.lang.Exception - If there was a problem starting. Will cause a transition to FAILED state
      • doStop

        protected void doStop()
                       throws java.lang.Exception
        Description copied from class: AbstractLifeCycle
        Method to override to stop the lifecycle
        Overrides:
        doStop in class AbstractLifeCycle
        Throws:
        java.lang.Exception - If there was a problem stopping. Will cause a transition to FAILED state