Class AbstractContextProvider

java.lang.Object
org.eclipse.jetty.util.component.AbstractLifeCycle
org.eclipse.jetty.osgi.boot.AbstractContextProvider
All Implemented Interfaces:
org.eclipse.jetty.deploy.AppProvider, org.eclipse.jetty.util.component.LifeCycle
Direct Known Subclasses:
BundleContextProvider, ServiceContextProvider

public abstract class AbstractContextProvider extends org.eclipse.jetty.util.component.AbstractLifeCycle implements org.eclipse.jetty.deploy.AppProvider
AbstractContextProvider Base class for DeploymentManager Providers that can deploy ContextHandlers into Jetty that have been discovered via OSGI either as bundles or services.
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    class 
    OSGiApp

    Nested classes/interfaces inherited from class org.eclipse.jetty.util.component.AbstractLifeCycle

    org.eclipse.jetty.util.component.AbstractLifeCycle.AbstractLifeCycleListener, org.eclipse.jetty.util.component.AbstractLifeCycle.StopException

    Nested classes/interfaces inherited from interface org.eclipse.jetty.util.component.LifeCycle

    org.eclipse.jetty.util.component.LifeCycle.Listener
  • Field Summary

    Fields inherited from class org.eclipse.jetty.util.component.AbstractLifeCycle

    FAILED, STARTED, STARTING, STOPPED, STOPPING
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    org.eclipse.jetty.server.handler.ContextHandler
    createContextHandler(org.eclipse.jetty.deploy.App app)
     
    org.eclipse.jetty.deploy.DeploymentManager
     
     
    void
    setDeploymentManager(org.eclipse.jetty.deploy.DeploymentManager deploymentManager)
     

    Methods inherited from class org.eclipse.jetty.util.component.AbstractLifeCycle

    addEventListener, doStart, doStop, getEventListeners, getState, getState, isFailed, isRunning, isStarted, isStarting, isStopped, isStopping, removeEventListener, setEventListeners, start, stop, toString

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

    Methods inherited from interface org.eclipse.jetty.util.component.LifeCycle

    addEventListener, isFailed, isRunning, isStarted, isStarting, isStopped, isStopping, removeEventListener, start, stop
  • Constructor Details

  • Method Details

    • getServerInstanceWrapper

      public ServerInstanceWrapper getServerInstanceWrapper()
    • createContextHandler

      public org.eclipse.jetty.server.handler.ContextHandler createContextHandler(org.eclipse.jetty.deploy.App app) throws Exception
      Specified by:
      createContextHandler in interface org.eclipse.jetty.deploy.AppProvider
      Throws:
      Exception
    • setDeploymentManager

      public void setDeploymentManager(org.eclipse.jetty.deploy.DeploymentManager deploymentManager)
      Specified by:
      setDeploymentManager in interface org.eclipse.jetty.deploy.AppProvider
    • getDeploymentManager

      public org.eclipse.jetty.deploy.DeploymentManager getDeploymentManager()