fr.ifremer.isisfish.aspect
Class Trace

java.lang.Object
  extended by fr.ifremer.isisfish.aspect.Trace

public class Trace
extends Object

Permet de tracer les appels aux methodes utilisateur ainsi que l'execution a ces methodes. La difference entre les deux est lors de l'utilisation du cache les appels seront superieur a l'execution car certaine valeur seront reutilisé dans le cache Created: 25 août 06 22:19:21

Version:
$Revision: 3124 $ Last update: $Date: 2010-11-29 19:14:09 +0100 (lun., 29 nov. 2010) $ by : $Author: chatellier $
Author:
poussin

Constructor Summary
Trace()
           
 
Method Summary
protected  Trace getTrace()
          Return trace object from context.
static String printStatistiqueAndClear()
          Affiche les statistiques
 void traceAfterExecute(org.codehaus.aspectwerkz.joinpoint.JoinPoint jp)
           
 void traceAfterThrowingExecute(org.codehaus.aspectwerkz.joinpoint.JoinPoint jp)
           
 void traceBeforeExecute(org.codehaus.aspectwerkz.joinpoint.JoinPoint jp)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Trace

public Trace()
Method Detail

getTrace

protected Trace getTrace()
Return trace object from context.

Returns:
trace object from context

traceBeforeExecute

public void traceBeforeExecute(org.codehaus.aspectwerkz.joinpoint.JoinPoint jp)

traceAfterThrowingExecute

public void traceAfterThrowingExecute(org.codehaus.aspectwerkz.joinpoint.JoinPoint jp)

traceAfterExecute

public void traceAfterExecute(org.codehaus.aspectwerkz.joinpoint.JoinPoint jp)

printStatistiqueAndClear

public static String printStatistiqueAndClear()
Affiche les statistiques

Returns:
statistics as string


Copyright © 1999-2011 CodeLutin. All Rights Reserved.