JBoss Reflection 2.2.1.SP1

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

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

public class MetricsJavassistField
extends Metrics
implements JavassistField

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
MetricsJavassistField(JavassistField delegate, String sig)
           
 
Method Summary
 Object get(Object target)
          Get the field
 void set(Object target, Object value)
          Set the field
 
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

MetricsJavassistField

public MetricsJavassistField(JavassistField delegate,
                             String sig)
Method Detail

get

public Object get(Object target)
           throws Throwable
Description copied from interface: JavassistField
Get the field

Specified by:
get in interface JavassistField
Parameters:
target - the target
Returns:
the result
Throws:
Throwable - for any error

set

public void set(Object target,
                Object value)
         throws Throwable
Description copied from interface: JavassistField
Set the field

Specified by:
set in interface JavassistField
Parameters:
target - the target
value - the value
Throws:
Throwable - for any error

JBoss Reflection 2.2.1.SP1

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