WebAppInfo Class
- public class WebAppInfo
extends Object
A helper class to encapsulate WebApp deployment information.
-
Hierarchy
-
Object
WebAppInfo
public String |
-
contextURI
- The WebServer accessible base URI of the web app.
|
public String |
-
uri
- The uri of the web app files in the EAR or in WLS.
|
contextURI
public String
contextURI
- The WebServer accessible base URI of the web app.
If this is null or empty, then this WebApp is not mapped to a
context path. Otherwise, this should always start with "/".
uri
public String
uri
- The uri of the web app files in the EAR or in WLS.
This will be relative to the containing EAR.
WebAppInfo
public WebAppInfo()
- Constructor.
WebAppInfo
public WebAppInfo(WebAppComponentMBean
mbean)
- Constructor.
getDefaultWebAppInfo() Method
public static WebAppInfo
getDefaultWebAppInfo()
Get the server's default web app info.
getWebAppInfo() Method
public static Collection
getWebAppInfo()
throws InstanceNotFoundException
Get the WebApps defined in the current application.
Exceptions
-
InstanceNotFoundException
getWebAppInfo(ApplicationConfigurationMBean) Method
public static Collection
getWebAppInfo(ApplicationConfigurationMBean
mbean)
throws IllegalStateException
Get the WebApps defined in the specified application configuration.
Exceptions
-
IllegalStateException
toString() Method
public String
toString()
-
Overrides
-
Object.toString()