net.bull.javamelody
Class MonitoringInterceptor

java.lang.Object
  extended by net.bull.javamelody.MonitoringInterceptor

public class MonitoringInterceptor
extends Object

Intercepteur pour EJB 3 (Java EE 5). Il est destiné à un compteur pour les statistiques d'exécutions de méthodes sur les "façades métiers" ( @Stateless, @Stateful ou @MessageDriven ). Il peut être paramétré dans le fichier ejb-jar.xml pour certains ejb ou pour tous les ejb, ou alors par l'annotation @Interceptors dans les sources java des implémentations d'ejb.

Author:
Emeric Vernat

Constructor Summary
MonitoringInterceptor()
           
 
Method Summary
 Object intercept(InvocationContext context)
          Intercepte une exécution de méthode sur un ejb.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MonitoringInterceptor

public MonitoringInterceptor()
Method Detail

intercept

public Object intercept(InvocationContext context)
                 throws Exception
Intercepte une exécution de méthode sur un ejb.

Parameters:
context - InvocationContext
Returns:
Object
Throws:
Exception - e


Copyright © 2008-2010 Emeric Vernat. All Rights Reserved.