© 2002 BEA Systems, Inc.


com.bea.campaign.webservice
Class WebAppInfo

java.lang.Object
  |
  +--com.bea.campaign.webservice.WebAppInfo

public class WebAppInfo
extends java.lang.Object

A helper class to encapsulate WebApp deployment information.


Field Summary
 java.lang.String contextURI
          The WebServer accessible base URI of the web app.
 java.lang.String uri
          The uri of the web app files in the EAR or in WLS.
 
Constructor Summary
WebAppInfo()
          Constructor.
WebAppInfo(weblogic.management.configuration.WebAppComponentMBean mbean)
          Constructor.
 
Method Summary
static WebAppInfo getDefaultWebAppInfo()
          Get the server's default web app info.
static java.util.Collection getWebAppInfo()
          Get the WebApps defined in the current application.
static java.util.Collection getWebAppInfo(weblogic.management.configuration.ApplicationConfigurationMBean mbean)
          Get the WebApps defined in the specified application configuration.
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

contextURI

public java.lang.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 java.lang.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(weblogic.management.configuration.WebAppComponentMBean mbean)
Constructor.
Method Detail

toString

public java.lang.String toString()

Overrides:
toString in class java.lang.Object

getWebAppInfo

public static java.util.Collection getWebAppInfo()
                                          throws javax.management.InstanceNotFoundException
Get the WebApps defined in the current application.

getWebAppInfo

public static java.util.Collection getWebAppInfo(weblogic.management.configuration.ApplicationConfigurationMBean mbean)
                                          throws java.lang.IllegalStateException
Get the WebApps defined in the specified application configuration.

getDefaultWebAppInfo

public static WebAppInfo getDefaultWebAppInfo()
Get the server's default web app info.

© 2002 BEA Systems, Inc.

Copyright © 2002 BEA Systems, Inc. All Rights Reserved