ApplicationRuntimeMBean


Overview  |   Related MBeans  |   Attributes  |   Operations

Overview

An application represents a Java EE enterprise application packaged in an EAR file or EAR exploded directory. The EAR file or directory contains a set of components such as WAR, EJB, and RAR connector components, each of which can be deployed on one or more targets. A target is a server or a cluster. Modules in the application can have one of the following states:

ApplicationRuntimeMBean encapsulates runtime information about a deployed enterprise application.

       
Security rolesThe following roles have read, write, and invoke permission for all non-encrypted attributes and operations in this MBean:
  • Operator
Fully Qualified Interface NameIf you use the getMBeanInfo operation in MBeanTypeServiceMBean, supply the following value as this MBean's fully qualified interface name:
weblogic.management.runtime.ApplicationRuntimeMBean
Factory Methods No factory methods. Instances of this MBean are created automatically.
Access Points You can access this MBean from the following MBean attributes:
    Access Points Inherited from RuntimeMBean Because this MBean extends or implements RuntimeMBean, you can also access this MBean by retrieving RuntimeMBeans. The following attributes contain RuntimeMBeans and its subtypes:


    Related MBeans

    This section describes attributes that provide access to other MBeans.


    ClassLoaderRuntime

    Get statistics for system-level class loading.

           
    Factory Methods No explicit creator method. The child shares the lifecycle of its parent.
    Privileges Read only
    TypeClassLoaderRuntimeMBean
    Relationship type: Containment.

    ClassRedefinitionRuntime

    If the class FastSwap feature is enabled for the application, returns the runtime MBean to monitor and control the class FastSwap within the application.

           
    Factory Methods No explicit creator method. The child shares the lifecycle of its parent.
    Privileges Read only
    TypeClassRedefinitionRuntimeMBean
    Relationship type: Containment.

    CoherenceClusterRuntime

    Returns the Coherence Cluster related runtime MBean.

           
    Factory Methods No explicit creator method. The child shares the lifecycle of its parent.
    Privileges Read only
    TypeCoherenceClusterRuntimeMBean
    Relationship type: Containment.

    ComponentRuntimes

    Returns the list of component runtime instances for each Java EE component (such as an EJB or a web application) that is contained in this enterprise application.

           
    Factory Methods No explicit creator method. The child shares the lifecycle of its parent.
    Privileges Read only
    TypeComponentRuntimeMBean[]
    Relationship type: Containment.

    KodoPersistenceUnitRuntimes

    Provides an array of KodoPersistenceUnitRuntimeMBean objects for this EJB module.

    Deprecated. As of 11.1.2.0, use getPersistenceUnitRuntimes instead

           
    Factory Methods No explicit creator method. The child shares the lifecycle of its parent.
    Privileges Read only
    TypeKodoPersistenceUnitRuntimeMBean[]
    Relationship type: Containment.

    LibraryRuntimes

    Returns the list of library runtime instances for each Java EE library that is contained in this enterprise application.

           
    Factory Methods No explicit creator method. The child shares the lifecycle of its parent.
    Privileges Read only
    TypeLibraryRuntimeMBean[]
    Relationship type: Containment.

    ManagedExecutorServiceRuntimes

    Returns the list of managed executor service runtime instances for each application-scoped managed executor service that is associated with this enterprise application.

               
    Factory Methods No explicit creator method. The child shares the lifecycle of its parent.
    Lookup OperationlookupManagedExecutorServiceRuntime(String name)

    Returns a javax.management.ObjectName for the instance of ManagedExecutorServiceRuntimeMBean named name.

    Privileges Read only
    TypeManagedExecutorServiceRuntimeMBean[]
    Relationship type: Containment.

    ManagedScheduledExecutorServiceRuntimes

    Returns the list of managed scheduled executor service runtime instances for each application-scoped managed scheduled executor service that is associated with this enterprise application.

               
    Factory Methods No explicit creator method. The child shares the lifecycle of its parent.
    Lookup OperationlookupManagedScheduledExecutorServiceRuntime(String name)

    Returns a javax.management.ObjectName for the instance of ManagedScheduledExecutorServiceRuntimeMBean named name.

    Privileges Read only
    TypeManagedScheduledExecutorServiceRuntimeMBean[]
    Relationship type: Containment.

    ManagedThreadFactoryRuntimes

    Returns the list of managed thread factory runtime instances for each application-scoped managed thread factory that is associated with this enterprise application.

               
    Factory Methods No explicit creator method. The child shares the lifecycle of its parent.
    Lookup OperationlookupManagedThreadFactoryRuntime(String name)

    Returns a javax.management.ObjectName for the instance of ManagedThreadFactoryRuntimeMBean named name.

    Privileges Read only
    TypeManagedThreadFactoryRuntimeMBean[]
    Relationship type: Containment.

    MaxThreadsConstraintRuntimes

    Get the runtime MBeans for all MaxThreadsConstraints defined at the application level.

               
    Factory Methods No explicit creator method. The child shares the lifecycle of its parent.
    Lookup OperationlookupMaxThreadsConstraintRuntime(String name)

    Returns a javax.management.ObjectName for the instance of MaxThreadsConstraintRuntimeMBean named name.

    Privileges Read only
    TypeMaxThreadsConstraintRuntimeMBean[]
    Relationship type: Containment.

    MinThreadsConstraintRuntimes

    Get the runtime MBeans for all MinThreadsConstraints defined at the application level.

               
    Factory Methods No explicit creator method. The child shares the lifecycle of its parent.
    Lookup OperationlookupMinThreadsConstraintRuntime(String name)

    Returns a javax.management.ObjectName for the instance of MinThreadsConstraintRuntimeMBean named name.

    Privileges Read only
    TypeMinThreadsConstraintRuntimeMBean[]
    Relationship type: Containment.

    OptionalPackageRuntimes

    Returns the list of optional package runtime instances for each Java EE optional package that is contained in this enterprise application.

           
    Factory Methods No explicit creator method. The child shares the lifecycle of its parent.
    Privileges Read only
    TypeLibraryRuntimeMBean[]
    Relationship type: Containment.

    PersistenceUnitRuntimes

    Provides an array of PersistenceUnitRuntimeMBean objects for this EAR module.

           
    Factory Methods No explicit creator method. The child shares the lifecycle of its parent.
    Privileges Read only
    TypePersistenceUnitRuntimeMBean[]
    Relationship type: Containment.

    QueryCacheRuntimes

    Returns a list of QueryCacheRuntimeMBeans configured for this application.

               
    Factory Methods No explicit creator method. The child shares the lifecycle of its parent.
    Lookup OperationlookupQueryCacheRuntime(String name)

    Returns a javax.management.ObjectName for the instance of QueryCacheRuntimeMBean named name.

    Privileges Read only
    TypeQueryCacheRuntimeMBean[]
    Relationship type: Containment.

    RequestClassRuntimes

    Get the runtime MBeans for all request classes defined at the application level.

               
    Factory Methods No explicit creator method. The child shares the lifecycle of its parent.
    Lookup OperationlookupRequestClassRuntime(String name)

    Returns a javax.management.ObjectName for the instance of RequestClassRuntimeMBean named name.

    Privileges Read only
    TypeRequestClassRuntimeMBean[]
    Relationship type: Containment.

    WorkManagerRuntimes

    Returns the list of work manager runtime instances for each application-scoped work manager that is associated with this enterprise application.

               
    Factory Methods No explicit creator method. The child shares the lifecycle of its parent.
    Lookup OperationlookupWorkManagerRuntime(String name)

    Returns a javax.management.ObjectName for the instance of WorkManagerRuntimeMBean named name.

    Privileges Read only
    TypeWorkManagerRuntimeMBean[]
    Relationship type: Containment.

    WseeRuntimes

    Returns the list of Web Service runtime instances that are contained in this enterprise application.

    Deprecated. Use getWseeV2Runtimes from the web app or EJB component instead

           
    Factory Methods No explicit creator method. The child shares the lifecycle of its parent.
    Privileges Read only
    TypeWseeRuntimeMBean[]
    Relationship type: Containment.

    WseeV2Runtimes

    Returns the list of Web Service runtime instances that are contained at the application scope of this enterprise application. This can happen when javax.xml.ws.Endpoint.publish() is called from within an application lifecycle listener.

               
    Factory Methods No explicit creator method. The child shares the lifecycle of its parent.
    Lookup OperationlookupWseeV2Runtime(String name)

    Returns a javax.management.ObjectName for the instance of WseeV2RuntimeMBean named name.

    Privileges Read only
    TypeWseeV2RuntimeMBean[]
    Relationship type: Containment.


    Attributes

    This section describes the following attributes:


    ActiveVersionState

    Specifies whether this application version is the currently active version.

    An application can be the only version currently deployed, or it can have more than one version currently deployed, using the side-by-side deployment feature. If more than one version is deployed, only one version can be active. This attribute specifies the state the current application version is in.

    An application can be in an INACTIVE state, which means that it has not been activated yet, or that there is more than one version of the application deployed (using side-by-side deployment) and this version is retiring.

    An application can be in ACTIVE_ADMIN state, which means that it is the currently active version for administrative channel requests.

    An application can be in ACTIVE state, which means that it is the currently active version for normal (non-administrative) channel requests.

    For more information, see:

           
    Privileges Read only
    Typeint

    ApplicationName

    The name of the application.

           
    Privileges Read only
    Typejava.lang.String

    ApplicationVersion

    The application's version identifier.

    This is particularly useful, when using the side-by-side deployment feature, to differentiate between two different versions of the same application that are deployed at the same time.

           
    Privileges Read only
    Typejava.lang.String

    CachingDisabled

    Private property that disables caching in proxies.

    This attribute is not dynamic and requires a server restart to take effect.

           
    Privileges Read only
    Typeboolean

    HealthState

    The HealthState MBean for the application.

    For more information, see:

           
    Privileges Read only
    Typeweblogic.health.HealthState

    HealthStateJMX

    The health state for the application.

           
    Available Since Release 12.2.1.0.0
    Privileges Read only
    Typejavax.management.openmbean.CompositeData

    Internal

    Indicates whether this application is an internal application. Such applications are not displayed in the console or persisted in the config.xml.

           
    Available Since Release 12.1.3.0
    Privileges Read only
    Typeboolean

    MBeanInfo

    Returns the MBean info for this MBean.

    This attribute is not dynamic and requires a server restart to take effect.

    Deprecated.

           
    Privileges Read only
    Typejavax.management.MBeanInfo

    Name

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

           
    Privileges Read only
    Typejava.lang.String

    ObjectName

    Returns the ObjectName under which this MBean is registered in the MBean server.

    This attribute is not dynamic and requires a server restart to take effect.

    Deprecated.

           
    Privileges Read only
    Typeweblogic.management.WebLogicObjectName

    OverallHealthState

    The overall health of the application including that of some of the components that report health. Currently, only connector modules report health status and are the only ones considered in the overall health state of the application.

    For more information, see:

           
    Available Since Release 12.1.2.0
    Privileges Read only
    Typeweblogic.health.HealthState

    OverallHealthStateJMX

    The overall health of the application including that of some of the components that report health. Currently, only connector modules report health status and are the only ones considered in the overall health state of the application.

           
    Available Since Release 12.2.1.0.0
    Privileges Read only
    Typejavax.management.openmbean.CompositeData

    Parent

    Return the immediate parent for this MBean

    This attribute is not dynamic and requires a server restart to take effect.

           
    Privileges Read/Write
    Type

    PartitionName

    The application's partition.

    Returns the partition to which this application is deployed.

           
    Available Since Release 12.2.1.0.0
    Privileges Read only
    Typejava.lang.String

    Registered

    Returns false if the MBean represented by this object has been unregistered.

    This attribute is not dynamic and requires a server restart to take effect.

    Deprecated.

           
    Privileges Read only
    Typeboolean

    Type

    Returns the type of the MBean.

    This attribute is not dynamic and requires a server restart to take effect.

           
    Privileges Read only
    Typejava.lang.String


    Operations

    This section describes the following operations:


    getKodoPersistenceUnitRuntime

    Provides the KodoPersistenceUnitRuntimeMBean for the EJB with the specified name.

    Deprecated. As of 11.1.2.0, use getPersistenceUnitRuntime instead

       
    Operation Name"getKodoPersistenceUnitRuntime"
    ParametersObject [] {  unitName }

    where:

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

      unitName

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

    getPersistenceUnitRuntime

    Provides the PersistenceUnitRuntimeMBean for the application with the specified name.

       
    Operation Name"getPersistenceUnitRuntime"
    ParametersObject [] {  unitName }

    where:

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

      unitName

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

    hasApplicationCache

    Returns true if the application has an (EJB) Application Level Cache

       
    Operation Name"hasApplicationCache"
    Parametersnull
    Signaturenull
    Returns boolean

    reInitializeApplicationCachesAndPools

    If the application has an (EJB) Application Level Cache, then this method will reinitialize the cache and any of its associated pools to their startup time states if possible.

       
    Operation Name"reInitializeApplicationCachesAndPools"
    Parametersnull
    Signaturenull
    Returns void