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 JaxRsResourceMethodRuntimeMBean

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

public interface JaxRsResourceMethodRuntimeMBean
extends JaxRsResourceMethodBaseRuntimeMBean

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.


Method Summary
abstract  String[] getConsumingMediaTypes()
          Provides the media-types that are consumed by this resource method.
abstract  String getHttpMethod()
          Provides the HTTP designator that is annotated on the resource method.
abstract  String[] getProducingMediaTypes()
          Provides the media-types that are produced by this resource method.
abstract  boolean isSubResource()
          Indicates whether this MBean represents a sub-resource.
abstract  boolean isSubResourceMethod()
          Indicates whether this MBean represents a sub-resource method.

 

Methods inherited from interface weblogic.management.runtime.JaxRsResourceMethodBaseRuntimeMBean
getClassName, getMethodName, getParameterTypes, getPath, getReturnType, isExtended

 

Methods inherited from interface weblogic.management.runtime.JaxRsMonitoringInfoRuntimeMBean
getExecutionTimeAverage, getExecutionTimeHigh, getExecutionTimeLow, getExecutionTimeTotal, getInvocationCount, getLastInvocationTime, getStartTime

 

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

getHttpMethod

String getHttpMethod()

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

Returns:
The http designator that is annotated on the resource method

getConsumingMediaTypes

String[] getConsumingMediaTypes()

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

Returns:
The array of mime-types that the resource method of the sub-resource locator can consume

getProducingMediaTypes

String[] getProducingMediaTypes()

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

Returns:
The array of mime-types that the resource method can produce

isSubResource

boolean isSubResource()
Indicates whether this MBean represents a sub-resource.

isSubResourceMethod

boolean isSubResourceMethod()

Indicates whether this MBean represents a sub-resource method.


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