ApplicationRuntimeMBean


Overview  |   Child MBeans  |   Attributes  |   Operations

Overview

An application represents a J2EE 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.

ApplicationRuntimeMBean encapsulates runtime information about a deployed Enterprise application.

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.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:


    Child MBeans

    This section describes attributes that contain child MBeans. For more information about the MBean hierarchy, refer to WebLogic Server MBean Data Model.


    ComponentRuntimes

    Returns the list of component runtime instances for each J2EE 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[]

    LibraryRuntimes

    Returns the list of library runtime instances for each J2EE 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[]

    MaxThreadsConstraintRuntimes

    Get the runtime mbeans for all MaxThreadsConstraints defined at the app-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[]

    MinThreadsConstraintRuntimes

    Get the runtime mbeans for all MinThreadsConstraints defined at the app-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[]

    OptionalPackageRuntimes

    Returns the list of optional package runtime instances for each J2EE 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[]

    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[]

    RequestClassRuntimes

    Get the runtime mbeans for all request classes defined at the app-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[]

    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[]


    Attributes

    This section describes the following attributes:


    ApplicationName

    The name of the Enterprise application.

           
    Privileges Read only
    Typejava.lang.String

    ApplicationVersion

    The Enterprise 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

    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:


      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