WebAppInfo Class

com.bea.campaign.webservice
WebAppInfo Class

public class WebAppInfo

    extends Object

A helper class to encapsulate WebApp deployment information.


Hierarchy
Object
  WebAppInfo

Field Summary

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.
 

Constructor Summary

WebAppInfo()

Constructor.
WebAppInfo(WebAppComponentMBean mbean)

Constructor.
 

Method Summary

public static WebAppInfo
getDefaultWebAppInfo()
Get the server's default web app info.
public static Collection
getWebAppInfo()
Get the WebApps defined in the current application.
public static Collection
getWebAppInfo(ApplicationConfigurationMBean mbean)
Get the WebApps defined in the specified application configuration.
public String
toString()
 
Methods from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
   

Field Detail

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.

 

Constructor Detail

WebAppInfo

public WebAppInfo()
Constructor.

WebAppInfo

public WebAppInfo(WebAppComponentMBean mbean)
Constructor.
 

Method Detail

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()