org.eclipse.jetty.deploy

## Interface AppProvider

- All Superinterfaces:
    LifeCycle
  All Known Implementing Classes:
    ContextProvider, ScanningAppProvider, WebAppProvider

      public interface AppProvider
      extends LifeCycle

  Object responsible for providing `App`s to the `DeploymentManager`

- - ### Nested Class Summary

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

      `LifeCycle.Listener`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `ContextHandler` | `createContextHandler(App app)` Create a ContextHandler for an App
    `void` | `setDeploymentManager(DeploymentManager deploymentManager)` Set the Deployment Manager

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

      `addLifeCycleListener, isFailed, isRunning, isStarted, isStarting, isStopped, isStopping, removeLifeCycleListener, start, stop`

- - ### Method Detail

    - #### setDeploymentManager

          void setDeploymentManager(DeploymentManager deploymentManager)

      Set the Deployment Manager
      Parameters:
        `deploymentManager` -
      Throws:
        `IllegalStateException` - if the provider `LifeCycle.isRunning()`.

    - #### createContextHandler

          ContextHandler createContextHandler(App app)
                                              throws Exception

      Create a ContextHandler for an App
      Parameters:
        `app` - The App
      Returns:
        A ContextHandler
      Throws:
        `IOException`
        `Exception`

Copyright © 1995-2012 Mort Bay Consulting. All Rights Reserved.