JaxRsApplicationRuntimeMBean


Overview  |   Related MBeans  |   Attributes  |   Operations

Overview

This the runtime server MBean for a JAX-RS application. There can be more than one JAX-RS application per Web Application. The list of available JAX-RS applications can be got through the method public JaxRsApplicationMBean[] getJaxRsApplications() at weblogic.management.runtime.WebAppComponentRuntimeMBean The lookup method to find a specific JAX-RS application with given name is public JaxRsApplicationMBean lookupJaxRsApplication(String name)

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


    ResourceConfig

    Provides the resource config MBean of the JAX-RS application.

    Every JAX-RS application is configured through a resource config. There are several types of resource configs available in Jersey. This method gets the details of the corresponding resource config created by Jersey for this JAX-RS application.

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

    RootResources

    Provides the array of root resources MBean

    Every JAX-RS application contains 1 or more root resources.

               
    Lookup OperationlookupRootResource(String name)

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

    Privileges Read only
    TypeJaxRsResourceRuntimeMBean[]
    Relationship type: Reference.

    Servlet

    Provides the MBean of the servlet that handles the corresponding JAX-RS application.

    Users can get the servlet related metrics from the returned ServletRuntimeMBean

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


    Attributes

    This section describes the following attributes:


    ApplicationEnabled

    Indicates whether this JAX-RS application is currently enabled

           
    Privileges Read/Write
    Typeboolean

    CachingDisabled

    Private property that disables caching in proxies.

           
    Privileges Read only
    Typeboolean

    ErrorCount

    Provides the errors count, the number of un-handled exceptions from the JAX-RS application

           
    Privileges Read only
    Typelong

    ExecutionTimeAverage

    Provides the average execution time(in millis) per execution. Returns 0 if it was never invoked.

           
    Privileges Read only
    Typelong

    ExecutionTimeHigh

    Provides the highest time taken (in millis) by an execution. Returns 0 if it was never invoked.

           
    Privileges Read only
    Typelong

    ExecutionTimeLow

    Provives the lowest time taken(in millis) by an execution. Returns 0 if it was never invoked.

           
    Privileges Read only
    Typelong

    ExecutionTimeTotal

    Provides the total execution time(in millis) of all the requests. Returns 0 if it was never invoked.

           
    Privileges Read only
    Typelong

    HttpMethodCounts

    Provides map with all method names(String) as keys and their count(long) as values

           
    Privileges Read only
    Typejava.util.HashMap

    InvocationCount

    Provides the total invocation count

           
    Privileges Read only
    Typelong

    LastErrorDetails

    Provides details of the last error. It returns null if ther is not exception yet

           
    Privileges Read only
    Typeclass java.lang.String[]

    LastErrorMapper

    Provides the exception mapper class used against the last error(if any) occurred. It returns null if no error has been mapped yet.

           
    Privileges Read only
    Typejava.lang.String

    LastErrorTime

    Provides the date-time at which the last error(if any) occurred

           
    Privileges Read only
    Typelong

    LastHttpMethod

    Provides the http method name of the last request

           
    Privileges Read only
    Typejava.lang.String

    LastInvocationTime

    Provides the last invocation time. Returns 0 if it was never invoked.

           
    Privileges Read only
    Typelong

    LastResponseCode

    Provides the response code of the last response. Returns -1 if there is no response yet.

           
    Privileges Read only
    Typeint

    MBeanInfo

    Returns the MBean info for this MBean.

    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.

    Deprecated.

           
    Privileges Read only
    Typeweblogic.management.WebLogicObjectName

    Parent

    Return the immediate parent for this MBean

           
    Privileges Read/Write
    Type

    Registered

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

    Deprecated.

           
    Privileges Read only
    Typeboolean

    ResourcePattern

    Gets the WSM resource pattern for this JAX-RS application

           
    Privileges Read only
    Typejava.lang.String

    ResponseCodeCounts

    Provides map with all response codes(int) as keys and their count(long) as values

           
    Privileges Read only
    Typejava.util.HashMap

    StartTime

    The start time of this MBean

           
    Privileges Read only
    Typelong

    Type

    Returns the type of the MBean.

           
    Privileges Read only
    Typejava.lang.String

    WadlGenerationEnabled

    Indicates whether this JAX-RS application currently has WADL generation enabled

           
    Privileges Read/Write
    Typeboolean

    WadlUrl

    Retrieve the WADL URL for this JAX-RS Application

           
    Privileges Read only
    Typejava.lang.String


    Operations

    This section describes the following operations:


      preDeregister

         
      Operation Name"preDeregister"
      Parametersnull
      Signaturenull
      Returns void
      Exceptions
      • java.lang.Exception