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


      ResourceMethods

      Provides all the resource methods

                 
      Lookup OperationlookupResourceMethods(String name)

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

      Privileges Read only
      TypeJaxRsResourceMethodRuntimeMBean[]
      Relationship type: Reference.

      SubResourceLocators

      Provides all the sub-resource locators.

                 
      Lookup OperationlookupSubResourceLocators(String name)

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

      Privileges Read only
      TypeJaxRsSubResourceLocatorRuntimeMBean[]
      Relationship type: Reference.


      Attributes

      This section describes the following attributes:


      CachingDisabled

      Private property that disables caching in proxies.

             
      Privileges Read only
      Typeboolean

      ClassName

      Provides the class name of the resource

             
      Privileges Read only
      Typejava.lang.String

      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

      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

      Provides the path that is annotated on 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(POJO or EJB) 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


      Operations

      This section describes the following operations:


        preDeregister

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