Class App

java.lang.Object
org.eclipse.jetty.deploy.App
Direct Known Subclasses:
AbstractOSGiApp

public class App extends Object
The information about an App that is managed by the DeploymentManager
  • Constructor Details

  • Method Details

    • getDeploymentManager

      public DeploymentManager getDeploymentManager()
      Returns:
      The deployment manager
    • getAppProvider

      public AppProvider getAppProvider()
      Returns:
      The AppProvider
    • getContextHandler

      public ContextHandler getContextHandler() throws Exception
      Get ContextHandler for the App. Create it if needed.
      Returns:
      the ContextHandler to use for the App when fully started. (Portions of which might be ignored when App is not yet AppLifeCycle.DEPLOYED or AppLifeCycle.STARTED)
      Throws:
      Exception - if unable to get the context handler
    • getContextId

      public String getContextId()
      Deprecated.
      Use getContextPath instead.
      The context path App relating to how it is installed on the jetty server side. NOTE that although the method name indicates that this is a unique identifier, it is not, as many contexts may have the same contextPath, yet different virtual hosts.
      Returns:
      the context path for the App
    • getContextPath

      public String getContextPath()
      The context path App relating to how it is installed on the jetty server side.
      Returns:
      the contextPath for the App
    • getOriginId

      public String getOriginId()
      The origin of this App as specified by the AppProvider
      Returns:
      String representing the origin of this app.
    • toString

      public String toString()
      Overrides:
      toString in class Object