AppRuntimeStateRuntimeMBean


Overview  |   Child MBeans  |   Attributes  |   Operations

Overview

Provides access to runtime state for deployed applications.

Fully Qualified Interface Name

If you use the getMBeanInfo operation in MBeanTypeServiceMBean, supply the following value as this MBean's fully qualified interface name:
weblogic.management.runtime.AppRuntimeStateRuntimeMBean

Since 9.0.0.0

Factory Methods

No factory methods. Instances of this MBean are created automatically.

Access Points

You can access this MBean from the following MBean attributes:


    Attributes

    This section describes the following attributes:


    ApplicationIds

           
    Privileges Read only
    Typeclass java.lang.String[]

    Name

    The name of this configuration. WebLogic Server uses an MBean to implement and persist the configuration.

           
    Privileges Read only
    Typejava.lang.String

    Parent

    Return the immediate parent for this MBean

           
    Privileges Read/Write
    Type

    Type

    Returns the type of the MBean.

           
    Privileges Read only
    Typejava.lang.String


    Operations

    This section describes the following operations:


    getCurrentState

    Aggregate state for a submodule. This is defined as the most advanced state of the submodule on all servers associated with the named target.

       
    Operation Name"getCurrentState"
    ParametersObject [] {  appidmoduleidsubModuleIdtarget }

    where:

    • appid is an object of type java.lang.String that specifies:

      appid

    • moduleid is an object of type java.lang.String that specifies:

      moduleid

    • subModuleId is an object of type java.lang.String that specifies:

      subModuleId

    • target is an object of type java.lang.String that specifies:

      logical target where module is deployed

    SignatureString [] { "java.lang.String", "java.lang.String", "java.lang.String", "java.lang.String" }
    ReturnsString

    getCurrentState

    Aggregate state for the module. This is defined as the most advanced state of the module on all servers associated with the named target.

       
    Operation Name"getCurrentState"
    ParametersObject [] {  appidmoduleidtarget }

    where:

    • appid is an object of type java.lang.String that specifies:

      appid

    • moduleid is an object of type java.lang.String that specifies:

      moduleid

    • target is an object of type java.lang.String that specifies:

      logical target where module is deployed

    SignatureString [] { "java.lang.String", "java.lang.String", "java.lang.String" }
    ReturnsString

    getCurrentState

    Aggregate state for the application. This is defined as the most advanced state of the application's modules on the named target.

       
    Operation Name"getCurrentState"
    ParametersObject [] {  appidtarget }

    where:

    • appid is an object of type java.lang.String that specifies:

      appid

    • target is an object of type java.lang.String that specifies:

      logical target where the app is deployed

    SignatureString [] { "java.lang.String", "java.lang.String" }
    ReturnsString

    getIntendedState

    The state the application should be in on a specific target.

       
    Operation Name"getIntendedState"
    ParametersObject [] {  appidtarget }

    where:

    • appid is an object of type java.lang.String that specifies:

      appid

    • target is an object of type java.lang.String that specifies:

      target

    SignatureString [] { "java.lang.String", "java.lang.String" }
    ReturnsString

    getIntendedState

    The state the application should be in.

       
    Operation Name"getIntendedState"
    ParametersObject [] {  appid }

    where:

    • appid is an object of type java.lang.String that specifies:

      appid

    SignatureString [] { "java.lang.String" }
    ReturnsString

    getModuleIds

    Names of modules contained in the application. This does not include submodules.

       
    Operation Name"getModuleIds"
    ParametersObject [] {  appid }

    where:

    • appid is an object of type java.lang.String that specifies:

      appid

    SignatureString [] { "java.lang.String" }
    Returns class

    getModuleTargets

    Logical targets where the submodule is deployed

       
    Operation Name"getModuleTargets"
    ParametersObject [] {  appidmoduleidsubModuleId }

    where:

    • appid is an object of type java.lang.String that specifies:

      appid

    • moduleid is an object of type java.lang.String that specifies:

      moduleid

    • subModuleId is an object of type java.lang.String that specifies:

      subModuleId

    SignatureString [] { "java.lang.String", "java.lang.String", "java.lang.String" }
    Returns class

    getModuleTargets

    Logical targets where the module is deployed

       
    Operation Name"getModuleTargets"
    ParametersObject [] {  appidmoduleid }

    where:

    • appid is an object of type java.lang.String that specifies:

      appid

    • moduleid is an object of type java.lang.String that specifies:

      moduleid

    SignatureString [] { "java.lang.String", "java.lang.String" }
    Returns class

    getModuleType

    Indicates type of module: EAR, WAR, etc

    For more information, see:

       
    Operation Name"getModuleType"
    ParametersObject [] {  appidmoduleid }

    where:

    • appid is an object of type java.lang.String that specifies:

      appid

    • moduleid is an object of type java.lang.String that specifies:

      moduleid

    SignatureString [] { "java.lang.String", "java.lang.String" }
    ReturnsString

    getRetireTimeMillis

    The time when the app will be retired

       
    Operation Name"getRetireTimeMillis"
    ParametersObject [] {  appid }

    where:

    • appid is an object of type java.lang.String that specifies:

      appid

    SignatureString [] { "java.lang.String" }
    Returns long

    getRetireTimeoutSeconds

    The amount of time the app is given to retire

       
    Operation Name"getRetireTimeoutSeconds"
    ParametersObject [] {  appid }

    where:

    • appid is an object of type java.lang.String that specifies:

      appid

    SignatureString [] { "java.lang.String" }
    Returns int

    getSubmoduleIds

    Submodules associated with this module

    For more information, see:

       
    Operation Name"getSubmoduleIds"
    ParametersObject [] {  appidmoduleid }

    where:

    • appid is an object of type java.lang.String that specifies:

      appid

    • moduleid is an object of type java.lang.String that specifies:

      moduleid

    SignatureString [] { "java.lang.String", "java.lang.String" }
    Returns class

    isActiveVersion

    Indicates if the application is the active version; the one that new sessions will use.

       
    Operation Name"isActiveVersion"
    ParametersObject [] {  appid }

    where:

    • appid is an object of type java.lang.String that specifies:

      is the application id

    SignatureString [] { "java.lang.String" }
    Returns boolean

    isAdminMode

    Indicates if application should only be available through the admin port. This is the desired state of the application

       
    Operation Name"isAdminMode"
    ParametersObject [] {  appid,  }

    where:

    • appid is an object of type java.lang.String that specifies:

      is the application id

    SignatureString [] { "java.lang.String", "java.lang.String" }
    Returns boolean