Skip navigation links

Oracle Fusion Middleware
Java API Reference for Oracle WebLogic Server
12c (12.2.1)

Part Number E55141-01
P4 Change 1723563 on 2015/10/09


weblogic.management.runtime
Interface JaxRsExceptionMapperStatisticsRuntimeMBean

All Superinterfaces:
DynamicMBean, MBeanRegistration, NotificationBroadcaster, RuntimeMBean, WebLogicMBean

public interface JaxRsExceptionMapperStatisticsRuntimeMBean
extends RuntimeMBean

Monitoring statistics of exception mapper executions.


Method Summary
abstract  Map<String,Long> getExceptionMapperCount()
          Get the statistics of execution of exception mappers.
abstract  long getSuccessfulMappings()
          Get count of all successful exception mappings.
abstract  long getTotalMappings()
          Get count of exception mappings that were performed on exceptions.
abstract  long getUnsuccessfulMappings()
          Get count of all unsuccessful exception mappings.

 

Methods inherited from interface weblogic.management.runtime.RuntimeMBean
addPropertyChangeListener, removePropertyChangeListener

 

Methods inherited from interface weblogic.management.WebLogicMBean
getMBeanInfo, getName, getObjectName, getParent, getType, isCachingDisabled, isRegistered, setName, setParent

 

Methods inherited from interface javax.management.DynamicMBean
getAttribute, getAttributes, invoke, setAttribute, setAttributes

 

Methods inherited from interface javax.management.MBeanRegistration
postDeregister, postRegister, preDeregister, preRegister

 

Methods inherited from interface javax.management.NotificationBroadcaster
addNotificationListener, getNotificationInfo, removeNotificationListener

 

Method Detail

getExceptionMapperCount

Map<String,Long> getExceptionMapperCount()
Get the statistics of execution of exception mappers.
Returns:
Map where keys are string class names of exception mappers and values are counts of execution of these mappers.

getSuccessfulMappings

long getSuccessfulMappings()
Get count of all successful exception mappings. Successful exception mapping occurs when any exception mapper returns a valid response (even if response contains non-successful response status code).
Returns:
Count of successfully mapped exception.

getUnsuccessfulMappings

long getUnsuccessfulMappings()
Get count of all unsuccessful exception mappings. Unsuccessful exception mapping occurs when any exception mapping process does not produce a valid response. The reason can be that the exception mapper is not found, or is found but throws an exception.
Returns:
Count of unmapped exception.

getTotalMappings

long getTotalMappings()
Get count of exception mappings that were performed on exceptions.
Returns:
Count of all exception being mapped in the runtime.

Skip navigation links

Copyright 1996, 2015, Oracle and/or its affiliates. All rights reserved. Oracle is a registered trademark of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners.

Oracle Fusion Middleware
Java API Reference for Oracle WebLogic Server
12c (12.2.1)

Part Number E55141-01
P4 Change 1723563 on 2015/10/09