JaxRsResourceMethodRuntimeMBean


Overview  |   Related MBeans  |   Attributes  |   Operations

Overview

The runtime MBean of a resource method. A resource method is Java method that is available on a JAX-RS resource class. The resource method is always annotated with exactly one http method designator.

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


        MethodStatistics

        Get execution statistics that contain measurements of times only for execution of resource method. Durations average time, minimum time and maximum time measure only time of execution of resource method 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.

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


        Attributes

        This section describes the following attributes:


        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

        ClassName

        Provides the resource class name.

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

        ConsumingMediaTypes

        Provides the media-types that are consumed by this resource method.

               
        Privileges Read only
        Typeclass java.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 method 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.

        If not set, the resource will not be defined as extended by default.

               
        Available Since Release 12.2.1.0.0
        Privileges Read only
        Typeboolean

        HttpMethod

        Provides the HTTP designator that is annotated on the resource method.

               
        Privileges Read only
        Typejava.lang.String

        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.

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

        Deprecated.

               
        Privileges Read only
        Typejavax.management.MBeanInfo

        MethodName

        Provides the method name

               
        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

        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

        ParameterTypes

        Provides the parameter types of the method.

               
        Privileges Read only
        Typeclass java.lang.String[]

        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

        Path

        Provides the path annotated in the method.

               
        Privileges Read only
        Typejava.lang.String

        ProducingMediaTypes

        Provides the media-types that are produced by this resource method.

               
        Privileges Read only
        Typeclass java.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

        ReturnType

        Provides the return type of the method.

               
        Privileges Read only
        Typejava.lang.String

        StartTime

        The start time of this MBean.

               
        Privileges Read only
        Typelong

        SubResource

        Indicates whether this MBean represents a sub-resource.

               
        Available Since Release 12.2.1.0.0
        Privileges Read only
        Typeboolean

        SubResourceMethod

        Indicates whether this MBean represents a sub-resource method.

               
        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