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:
    Deprecated Factory Methods and Access Points


      Related MBeans

      This section describes attributes that provide access to other MBeans.


      ExceptionMapperStatistics

      Get statistics about registered exception mappers.

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

      RequestStatistics

      Get the global application statistics of request execution. The statistics are not bound any specific resource or resource method and contains information about all requests that application handles.

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

      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.

      Deprecated. 12.2.1.0 Use Properties() / ApplicationClass() instead.

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

      ResponseStatistics

      Get global application response statistics. The statistics are not bound any specific resource or resource method and contains information about all responses that application creates.

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

      RootResources

      Provides the array of root resources MBean

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

      Deprecated. 12.2.1.0 Use RootResourcesByClass() instead.

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

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

      Lookup OperationlookupRootResource(String name)

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

      Privileges Read only
      TypeJaxRsResourceRuntimeMBean[]
      Relationship type: Containment.

      RootResourcesByClass

      Get the statistics for each resource Class that is deployed in the application. Note that one resource class can serve request matched to different URIs. The array contains resource classes which are registered in the resource model plus resource classes of sub resources returned from sub resource locators.

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

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

      Lookup OperationlookupRootResource(String name)

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

      Privileges Read only
      TypeJaxRsResourceRuntimeMBean[]
      Relationship type: Containment.

      RootResourcesByUri

      Get the statistics for each URI that is exposed in the application. The array URIs that are available in application without URIs available in sub resource locators and URIs that are available trough sub resource locators and were already matched by any request.

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

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

      Privileges Read only
      TypeJaxRsUriRuntimeMBean[]
      Relationship type: Containment.

      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:


      AllRegisteredClasses

      Get all JAX-RS/Jersey component and provider classes registered either explicitly or via discovery (e.g. class-path scanning, from META-INF/services entries)

             
      Privileges Read only
      Typejava.util.Set

      ApplicationClass

      Get the application class used for configuration of Jersey application.

             
      Privileges Read only
      Typejava.lang.String

      ApplicationEnabled

      Indicates whether this JAX-RS application is currently enabled

      Deprecated. 12.2.1.0 Currently not supported.

             
      Privileges Read/Write
      Typeboolean

      ApplicationName

      Get the application name.

             
      Privileges Read only
      Typejava.lang.String

      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

      Deprecated. 12.2.1.0 Use JaxRsExceptionMapperStatisticsRuntimeMBean#getUnsuccessfulMappings() instead.

             
      Privileges Read only
      Typelong

      ExecutionTimeAverage

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

             
      Privileges Read only
      Typelong

      ExecutionTimeHigh

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

             
      Privileges Read only
      Typelong

      ExecutionTimeLow

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

             
      Privileges Read only
      Typelong

      ExecutionTimeTotal

      Provides the total execution time (in ms) 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

      Deprecated. 12.2.1.0

             
      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 there is not exception yet

      Deprecated. 12.2.1.0

             
      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.

      Deprecated. 12.2.1.0

             
      Privileges Read only
      Typejava.lang.String

      LastErrorTime

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

      Deprecated. 12.2.1.0

             
      Privileges Read only
      Typelong

      LastHttpMethod

      Provides the http method name of the last request

      Deprecated. 12.2.1.0

             
      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.

      Deprecated. 12.2.1.0 Use JaxRsResponseStatisticsRuntimeMBean#getLastResponseCode() instead.

             
      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

      Properties

      Get the map of configuration properties converted to strings.

             
      Privileges Read only
      Typejava.util.Map

      Registered

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

      Deprecated.

             
      Privileges Read only
      Typeboolean

      RegisteredClasses

      Get a set of string names of resource classes registered by the user.

             
      Privileges Read only
      Typejava.util.Set

      RegisteredInstances

      Get a set of string names of classes of user registered instances.

             
      Privileges Read only
      Typejava.util.Set

      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

      Deprecated. 12.2.1.0 Use JaxRsResponseStatisticsRuntimeMBean#getResponseCodes() instead.

             
      Privileges Read only
      Typejava.util.HashMap

      RootPath

      Retrieve the root path for this JAX-RS Application. The path consists of (servlet) context path + application (servlet or filter) path.

             
      Privileges Read only
      Typejava.lang.String

      StartTime

      Get the start time of the application (when application was initialized).

             
      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 URI for this JAX-RS Application.

             
      Privileges Read only
      Typejava.lang.String