Oracle Fusion Middleware
Oracle WebLogic Server API Reference
11g Release 1 (10.3.3)

Part Number E13941-03

weblogic.application
Interface ApplicationContext


public interface ApplicationContext

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


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.
 

Method Detail

getAppDeploymentMBean

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


getApplicationName

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)


getApplicationId

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.


getApplicationSecurityRealmName

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


Copyright 1996, 2010, Oracle and/or its affiliates. All rights reserved. Oracle is a registered trademark of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners.

Oracle Fusion Middleware
Oracle WebLogic Server 10.3.3 API Reference
11g Release 1 (10.3.3)

Part Number E13941-03