net.sf.infrared.aspects
Class Util

java.lang.Object
  extended bynet.sf.infrared.aspects.Util

public class Util
extends Object

Utility methods that are called by the Aspect class. This is the starting point for collecting statistics for an application.


Constructor Summary
Util()
           
 
Method Summary
static void afterMethodCall(Class classObj, String methodName, String apiType, long startTime)
           
static long beforeMethodCall(Class classObj, String methodName, String apiType)
           
static boolean isMonitoringEnabled()
          Returns true if monitoring is enabled.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Util

public Util()
Method Detail

beforeMethodCall

public static long beforeMethodCall(Class classObj,
                                    String methodName,
                                    String apiType)

afterMethodCall

public static void afterMethodCall(Class classObj,
                                   String methodName,
                                   String apiType,
                                   long startTime)

isMonitoringEnabled

public static boolean isMonitoringEnabled()
Returns true if monitoring is enabled.