JaxRsResourceRuntimeMBean


Overview  |   Related MBeans  |   Attributes  |   Operations

Overview

The runtime MBean of a JAX-RS resource. EJB(Stateless and Singleton), POJO are the two component types that are supported. Each JAX-RS resource has a scope associated with that. Any object that is managed by a container (such as EJB) will have application scope. All other resources by default will have request scope.

           
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.JaxRsResourceRuntimeMBean
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 JaxRsUriRuntimeMBean Because this MBean extends or implements JaxRsUriRuntimeMBean, you can also access this MBean by retrieving JaxRsUriRuntimeMBeans. The following attributes contain JaxRsUriRuntimeMBeans and its subtypes:
      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.


        MethodsStatistics

        Get execution statistics that contain measurements of times only for execution of resource methods. Durations average time, minimum time and maximum time measure only time of execution of resource methods code. It does not involve other request processing phases.

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

        RequestStatistics

        Get execution statistics that contain measurements of times for whole processing from time when request comes into the Jersey application until the response is written to the underlying IO container. The statistics involves only requests that were matched to resource methods defined in MethodsStatistics() .

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

        ResourceMethods

        Return the resource methods available under this resource.

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

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

        Privileges Read only
        TypeJaxRsResourceMethodRuntimeMBean[]
        Relationship type: Containment.

        SubResourceLocators

        Return the resource methods available under this resource.

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

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

        Privileges Read only
        TypeJaxRsSubResourceLocatorRuntimeMBean[]
        Relationship type: Containment.


        Attributes

        This section describes the following attributes:


        CachingDisabled

        Private property that disables caching in proxies.

               
        Privileges Read only
        Typeboolean

        ClassName

        Get the class name of the resource.

               
        Privileges Read only
        Typejava.lang.String

        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

        Extended

        Get the flag indicating whether the resource is extended or is a core of exposed RESTful API.

        Extended resource model components are helper components that are not considered as a core of a RESTful API. These can be for example {@code OPTIONS} resource methods added by model processors or {@code application.wadl} resource producing the WADL. Both resource are rather supportive than the core of RESTful API.

               
        Available Since Release 12.2.1.0.0
        Privileges Read only
        Typeboolean

        InvocationCount

        Provides the total invocation count.

               
        Privileges Read only
        Typelong

        LastInvocationTime

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

               
        Privileges Read only
        Typelong

        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

        Path

        The relative path that is assigned to this resource.

               
        Privileges Read only
        Typejava.lang.String

        Registered

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

        Deprecated.

               
        Privileges Read only
        Typeboolean

        ResourceType

        Provides the type (e.g., POJO, EJB, CDI, etc.) of the resource.

               
        Privileges Read only
        Typejava.lang.String

        StartTime

        The start time of this MBean.

               
        Privileges Read only
        Typelong

        Type

        Returns the type of the MBean.

               
        Privileges Read only
        Typejava.lang.String