|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.glassfish.jersey.server.internal.monitoring.jmx.ResourceMethodMXBeanImpl
public class ResourceMethodMXBeanImpl
MXBean implementing the ResourceMethodMXBean MXBean interface.
| Constructor Summary | |
|---|---|
ResourceMethodMXBeanImpl(ResourceMethodStatistics methodStatistics,
boolean uriResource,
MBeanExposer mBeanExposer,
String parentName,
String methodUniqueId)
Create a new MXBean and expose it into mbean server using mBeanExposer. |
|
| Method Summary | |
|---|---|
String |
getConsumesMediaType()
Get the string with media types consumed by this method, enclosed in double quotas and separated by a comma (e.g. |
String |
getDeclaringClassName()
Get the full class name of the class that declares the handling method. |
String |
getHttpMethod()
Get the HTTP method of the method. |
String |
getMethodName()
Get the name of the Java method. |
String |
getPath()
Get the sub resource method path of the method. |
String |
getProducesMediaType()
Get the string with media types produced by this method, enclosed in double quotas and separated by a comma (e.g. |
void |
updateResourceMethodStatistics(ResourceMethodStatistics resourceMethodStatisticsImpl)
Update the statistics that are exposed by this MXBean. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ResourceMethodMXBeanImpl(ResourceMethodStatistics methodStatistics,
boolean uriResource,
MBeanExposer mBeanExposer,
String parentName,
String methodUniqueId)
mBeanExposer.
methodStatistics - Statistics to be exposed by the MXBean.uriResource - true if the enclosing resource is identified by URI (and not by java
class name for example).mBeanExposer - MBean exposer.parentName - Name of the parent bean.methodUniqueId - method unique identifier in the enclosing resource| Method Detail |
|---|
public void updateResourceMethodStatistics(ResourceMethodStatistics resourceMethodStatisticsImpl)
resourceMethodStatisticsImpl - New statistics.public String getPath()
ResourceMethodMXBean
getPath in interface ResourceMethodMXBeanpublic String getHttpMethod()
ResourceMethodMXBean
getHttpMethod in interface ResourceMethodMXBeanpublic String getDeclaringClassName()
ResourceMethodMXBean
getDeclaringClassName in interface ResourceMethodMXBeanpublic String getConsumesMediaType()
ResourceMethodMXBean
getConsumesMediaType in interface ResourceMethodMXBeanpublic String getProducesMediaType()
ResourceMethodMXBean
getProducesMediaType in interface ResourceMethodMXBeanpublic String getMethodName()
ResourceMethodMXBean
getMethodName in interface ResourceMethodMXBean
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||