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 roles | The following roles have read, write, and invoke permission for all non-encrypted attributes and operations in this MBean:
|
||
Fully Qualified Interface Name | If 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 |
|
This section describes attributes that provide access to other MBeans.
Get statistics about registered exception mappers.
Factory Methods | No explicit creator method. The child shares the lifecycle of its parent. |
Privileges | Read only |
Type | JaxRsExceptionMapperStatisticsRuntimeMBean |
Relationship type: | Containment. |
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 |
Type | JaxRsExecutionStatisticsRuntimeMBean |
Relationship type: | Containment. |
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.
Factory Methods | No explicit creator method. The child shares the lifecycle of its parent. |
Privileges | Read only |
Type | JaxRsResourceConfigTypeRuntimeMBean |
Relationship type: | Containment. |
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 |
Type | JaxRsResponseStatisticsRuntimeMBean |
Relationship type: | Containment. |
Provides the array of root resources MBean
Every JAX-RS application contains 1 or more root resources.
Deprecated.
Factory Methods | No explicit creator method. The child shares the lifecycle of its parent. |
Lookup Operation | lookupRootResourcesByClass(String name)
Returns a |
Lookup Operation | lookupRootResource(String name)
Returns a |
Privileges | Read only |
Type | JaxRsResourceRuntimeMBean[] |
Relationship type: | Containment. |
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 Operation | lookupRootResourcesByClass(String name)
Returns a |
Lookup Operation | lookupRootResource(String name)
Returns a |
Privileges | Read only |
Type | JaxRsResourceRuntimeMBean[] |
Relationship type: | Containment. |
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 Operation | lookupRootResourcesByUri(String name)
Returns a |
Privileges | Read only |
Type | JaxRsUriRuntimeMBean[] |
Relationship type: | Containment. |
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 |
Type | ServletRuntimeMBean |
Relationship type: | Containment. |
This section describes the following attributes:
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 |
Type | java.util.Set |
Get the application class used for configuration of Jersey application.
Privileges | Read only |
Type | java.lang.String |
Indicates whether this JAX-RS application is currently enabled
Deprecated.
Privileges | Read/Write |
Type | boolean |
Get the application name.
Privileges | Read only |
Type | java.lang.String |
Private property that disables caching in proxies.
Privileges | Read only |
Type | boolean |
Provides the errors count, the number of un-handled exceptions from the JAX-RS application
Deprecated.
Privileges | Read only |
Type | long |
Provides the average execution time (in ms) per execution. Returns 0 if it was never invoked.
Privileges | Read only |
Type | long |
Provides the highest time taken (in ms) by an execution. Returns 0 if it was never invoked.
Privileges | Read only |
Type | long |
Provides the lowest time taken (in ms) by an execution. Returns 0 if it was never invoked.
Privileges | Read only |
Type | long |
Provides the total execution time (in ms) of all the requests. Returns 0 if it was never invoked.
Privileges | Read only |
Type | long |
Provides map with all method names(String) as keys and their count(long) as values
Deprecated.
Privileges | Read only |
Type | java.util.HashMap |
Provides the total invocation count.
Privileges | Read only |
Type | long |
Provides details of the last error. It returns null if there is not exception yet
Deprecated.
Privileges | Read only |
Type | class java.lang.String[] |
Provides the exception mapper class used against the last error (if any) occurred. It returns null if no error has been mapped yet.
Deprecated.
Privileges | Read only |
Type | java.lang.String |
Provides the date-time at which the last error(if any) occurred
Deprecated.
Privileges | Read only |
Type | long |
Provides the http method name of the last request
Deprecated.
Privileges | Read only |
Type | java.lang.String |
Provides the last invocation time. Returns 0 if it was never invoked.
Privileges | Read only |
Type | long |
Provides the response code of the last response. Returns -1 if there is no response yet.
Deprecated.
Privileges | Read only |
Type | int |
Returns the MBean info for this MBean.
Deprecated.
Privileges | Read only |
Type | javax.management.MBeanInfo |
The name of this configuration. WebLogic Server uses an MBean to implement and persist the configuration.
Privileges | Read only |
Type | java.lang.String |
Returns the ObjectName under which this MBean is registered in the MBean server.
Deprecated.
Privileges | Read only |
Type | weblogic.management.WebLogicObjectName |
Return the immediate parent for this MBean
Privileges | Read/Write |
Type |
Get the map of configuration properties converted to strings.
Privileges | Read only |
Type | java.util.Map |
Returns false if the MBean represented by this object has been unregistered.
Deprecated.
Privileges | Read only |
Type | boolean |
Get a set of string names of resource classes registered by the user.
Privileges | Read only |
Type | java.util.Set |
Get a set of string names of classes of user registered instances.
Privileges | Read only |
Type | java.util.Set |
Gets the WSM resource pattern for this JAX-RS application.
Privileges | Read only |
Type | java.lang.String |
Provides map with all response codes(int) as keys and their count(long) as values
Deprecated.
Privileges | Read only |
Type | java.util.HashMap |
Retrieve the root path for this JAX-RS Application. The path consists of (servlet) context path + application (servlet or filter) path.
Privileges | Read only |
Type | java.lang.String |
Get the start time of the application (when application was initialized).
Privileges | Read only |
Type | long |
Returns the type of the MBean.
Privileges | Read only |
Type | java.lang.String |
Indicates whether this JAX-RS application currently has WADL generation enabled.
Privileges | Read/Write |
Type | boolean |
Retrieve the WADL URI for this JAX-RS Application.
Privileges | Read only |
Type | java.lang.String |