BEA Systems, Inc.

BEA WebLogic Server 9.1 API Reference


weblogic.application
Interface ApplicationContext

All Superinterfaces:
weblogic.application.library.LibraryContext

public interface ApplicationContext
extends weblogic.application.library.LibraryContext

The ApplicationContext is used by ApplicationLifecycleListeners to receive information about their current application.

Copyright © 2005 BEA Systems, Inc. All Rights Reserved.

Method Summary
 weblogic.management.configuration.AppDeploymentMBean getAppDeploymentMBean()
          Returns the AppDeploymentMBean for this Application.
 String getApplicationId()
          Returns the application identifier, which is the application name for non-versioned apps, and is a composition of both the application name and version identifier for versioned apps.
 String getApplicationName()
          Deprecated. The preferred way to obtain the application name and id (for versioned apps) is the getApplicationId() method. This method will be removed when all current users (including platform) are migrated to use the new getApplicationId call.
 String getApplicationSecurityRealmName()
          Returns the realm name specified in weblogic-application.xml.
 
Methods inherited from interface weblogic.application.library.LibraryContext
addClassFinder, getApplicationDD, getApplicationDescriptor, getRefappName, notifyDescriptorUpdate, registerLink, registerLink
 

Method Detail

getAppDeploymentMBean

public weblogic.management.configuration.AppDeploymentMBean getAppDeploymentMBean()
Returns the AppDeploymentMBean for this Application.


getApplicationId

public String getApplicationId()
Returns the application identifier, which is the application name for non-versioned apps, and is a composition of both the application name and version identifier for versioned apps.


getApplicationName

public String getApplicationName()
Deprecated. The preferred way to obtain the application name and id (for versioned apps) is the getApplicationId() method. This method will be removed when all current users (including platform) are migrated to use the new getApplicationId call.

Returns the application name (without the version identifier)


getApplicationSecurityRealmName

public String getApplicationSecurityRealmName()
Returns the realm name specified in weblogic-application.xml. If no realm is declared, then the default realm name is returned.


Documentation is available at
http://download.oracle.com/docs/cd/E13222_01/wls/docs91
Copyright 2005 BEA Systems Inc.