JBoss Reflection 2.2.1.SP1

org.jboss.reflect.plugins.javassist.metrics
Class MetricsJavassistMethod

java.lang.Object
  extended by org.jboss.reflect.plugins.javassist.metrics.Metrics
      extended by org.jboss.reflect.plugins.javassist.metrics.MetricsJavassistMethod
All Implemented Interfaces:
JavassistMethod, MetricsMBean

public class MetricsJavassistMethod
extends Metrics
implements JavassistMethod

Version:
$Revision: 1.1 $
Author:
Kabir Khan

Nested Class Summary
 
Nested classes/interfaces inherited from class org.jboss.reflect.plugins.javassist.metrics.Metrics
Metrics.Entry
 
Constructor Summary
MetricsJavassistMethod(JavassistMethod delegate, String sig)
           
 
Method Summary
 Object invoke(Object target, Object[] args)
          Invoke the method
 
Methods inherited from class org.jboss.reflect.plugins.javassist.metrics.Metrics
doRecordTime, outputEntriesByInvocations, outputEntriesByTime, recordTime, sortByInvocations, sortByTime
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MetricsJavassistMethod

public MetricsJavassistMethod(JavassistMethod delegate,
                              String sig)
Method Detail

invoke

public Object invoke(Object target,
                     Object[] args)
              throws Throwable
Description copied from interface: JavassistMethod
Invoke the method

Specified by:
invoke in interface JavassistMethod
Parameters:
target - the target
args - the parameters
Returns:
the result
Throws:
Throwable - for any error

JBoss Reflection 2.2.1.SP1

Copyright © 2012 JBoss, a division of Red Hat, Inc.. All Rights Reserved.