public class App extends Object
DeploymentManager| Constructor and Description |
|---|
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
|
| Modifier and Type | Method and Description |
|---|---|
AppProvider |
getAppProvider() |
ContextHandler |
getContextHandler()
Get ContextHandler for the App.
|
String |
getContextId()
Deprecated.
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() |
public App(DeploymentManager manager, AppProvider provider, String originId)
originId - the origin ID (The ID that the AppProvider knows
about)getOriginId(),
getContextPath()public App(DeploymentManager manager, AppProvider provider, String originId, ContextHandler context)
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()public DeploymentManager getDeploymentManager()
public AppProvider getAppProvider()
public ContextHandler getContextHandler() throws Exception
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)Exceptionpublic String getContextId()
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.public String getContextPath()
App relating to how it is installed on the
jetty server side.public String getOriginId()
App as specified by the AppProviderCopyright © 1995-2015 Mort Bay Consulting. All Rights Reserved.