|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.jetty.deploy.App
public class App
The information about an App that is managed by the DeploymentManager
| Constructor Summary | |
|---|---|
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 |
|
| Method Summary | |
|---|---|
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()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
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()| Method Detail |
|---|
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 AppProvider
public String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||