Skip navigation links

Oracle Fusion Middleware
Java API Reference for Oracle WebLogic Server
12c (12.2.1)

Part Number E55141-01
P4 Change 1723563 on 2015/10/09


weblogic.application
Interface ApplicationContext

All Superinterfaces:
LibraryContext

public interface ApplicationContext
extends LibraryContext

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


Method Summary
abstract  AppDeploymentMBean getAppDeploymentMBean()
          Returns the AppDeploymentMBean for this Application.
abstract  String getApplicationId()
          Returns the unique application identifier that is a composition of the application name, version identifier for versioned apps and partition name
abstract  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.
abstract  String getApplicationSecurityRealmName()
          Returns the realm name specified in weblogic-application.xml.
abstract  String getPartialApplicationId(boolean includePartitionName)
          Returns the unique application identifier that is a composition of the application name, version identifier for versioned apps and partition name

 

Method Detail

getAppDeploymentMBean

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) Application name is either configured in Java EE descriptors or overridden using deployment options

getApplicationId

String getApplicationId()
Returns the unique application identifier that is a composition of the application name, version identifier for versioned apps and partition name

getPartialApplicationId

String getPartialApplicationId(boolean includePartitionName)
Returns the unique application identifier that is a composition of the application name, version identifier for versioned apps and partition name
Parameters:
includePartitionName - whether or not to include partition name in returned value. Using true value of this parameter is equivalent of invoking getApplicationId()

getApplicationSecurityRealmName

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

Skip navigation links

Copyright 1996, 2015, 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
Java API Reference for Oracle WebLogic Server
12c (12.2.1)

Part Number E55141-01
P4 Change 1723563 on 2015/10/09