Class App

    • Constructor Detail

      • App

        public App​(DeploymentManager manager,
                   AppProvider provider,
                   java.lang.String originId,
                   ContextHandler context)
        Create an App with specified Origin ID and archivePath
        manager - the deployment manager
        provider - the app provider
        originId - the origin ID (The ID that the AppProvider knows about)
        context - Some implementations of AppProvider might have to use an already created ContextHandler.
        See Also:
        getOriginId(), getContextPath()
    • Method Detail

      • getDeploymentManager

        public DeploymentManager getDeploymentManager()
        The deployment manager
      • getAppProvider

        public AppProvider getAppProvider()
        The AppProvider
      • getContextHandler

        public ContextHandler getContextHandler()
                                         throws java.lang.Exception
        Get ContextHandler for the App. Create it if needed.
        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)
        java.lang.Exception - if unable to get the context handler
      • getContextId

        public java.lang.String getContextId()
        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.
        the context path for the App
      • getContextPath

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

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

        public java.lang.String toString()
        toString in class java.lang.Object