org.eclipse.jetty.deploy
类 App

java.lang.Object
  继承者 org.eclipse.jetty.deploy.App

public class App
extends Object

The information about an App that is managed by the DeploymentManager


构造方法摘要
App(DeploymentManager manager, AppProvider provider, String originId)
          Create an App with specified Origin ID and archivePath
App(DeploymentManager manager, AppProvider provider, String originId, ContextHandler context)
          Create an App with specified Origin ID and archivePath
 
方法摘要
 AppProvider getAppProvider()
           
 ContextHandler getContextHandler()
          Get ContextHandler for the App.
 String getContextId()
          已过时。 Use getContextPath instead.
 String getContextPath()
          The context path App relating to how it is installed on the jetty server side.
 DeploymentManager getDeploymentManager()
           
 String getOriginId()
          The origin of this App as specified by the AppProvider
 String toString()
           
 
从类 java.lang.Object 继承的方法
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

构造方法详细信息

App

public App(DeploymentManager manager,
           AppProvider provider,
           String originId)
Create an App with specified Origin ID and archivePath

参数:
originId - the origin ID (The ID that the AppProvider knows about)
另请参见:
getOriginId(), getContextPath()

App

public App(DeploymentManager manager,
           AppProvider provider,
           String originId,
           ContextHandler context)
Create an App with specified Origin ID and archivePath

参数:
originId - the origin ID (The ID that the AppProvider knows about)
context - Some implementations of AppProvider might have to use an already created ContextHandler.
另请参见:
getOriginId(), getContextPath()
方法详细信息

getDeploymentManager

public DeploymentManager getDeploymentManager()
返回:
The deployment manager

getAppProvider

public AppProvider getAppProvider()
返回:
The AppProvider

getContextHandler

public ContextHandler getContextHandler()
                                 throws 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)
抛出:
Exception

getContextId

public 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 String getContextPath()
The context path App relating to how it is installed on the jetty server side.

返回:
the contextPath for the App

getOriginId

public String getOriginId()
The origin of this App as specified by the AppProvider

返回:
String representing the origin of this app.

toString

public String toString()
覆盖:
Object 中的 toString


Copyright © 2013. All Rights Reserved.