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 JaxRsResourceMethodBaseRuntimeMBean

All Superinterfaces:
DynamicMBean, JaxRsMonitoringInfoRuntimeMBean, MBeanRegistration, NotificationBroadcaster, RuntimeMBean, WebLogicMBean
All Known Subinterfaces:
JaxRsResourceMethodRuntimeMBean, JaxRsSubResourceLocatorRuntimeMBean

public interface JaxRsResourceMethodBaseRuntimeMBean
extends JaxRsMonitoringInfoRuntimeMBean

The runtime MBean base class for both resource methods and sub-resource locators. A JAX-RS resource can contain zero or more resource methods.


Method Summary
abstract  String getClassName()
          Provides the resource class name.
abstract  String getMethodName()
          Provides the method name
abstract  String[] getParameterTypes()
          Provides the parameter types of the method.
abstract  String getPath()
          Provides the path annotated in the method.
abstract  String getReturnType()
          Provides the return type of the method.
abstract  boolean isExtended()
          Get the flag indicating whether the resource method is extended or is a core of exposed RESTful API.

 

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

getPath

String getPath()

Provides the path annotated in the method.

Returns:
The path that is annotated with @Path annotation. It returns "" if there is no @Path annotation

isExtended

boolean isExtended()
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 OPTIONS resource methods added by model processors or 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.

Returns:
true if the method is extended.
Since:
12.2.1.0.0

getClassName

String getClassName()

Provides the resource class name.

Returns:
The name of the resource class

getMethodName

String getMethodName()

Provides the method name

Returns:
The name of the resource method

getParameterTypes

String[] getParameterTypes()

Provides the parameter types of the method.

Returns:
The array of parameter types. Each item in the array is the type of the parameter. Returns an empty list for the resource method or the sub-resource locator that takes no parameter

getReturnType

String getReturnType()

Provides the return type of the method.

Returns:
The name of the return type of the resource method or the sub-resource method. Returns null for void 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