|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectnet.bull.javamelody.MonitoringInterceptor
public class MonitoringInterceptor
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.
| Constructor Summary | |
|---|---|
MonitoringInterceptor()
Constructeur. |
|
| Method Summary | |
|---|---|
java.lang.Object |
intercept(javax.interceptor.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 |
|---|
public MonitoringInterceptor()
| Method Detail |
|---|
public java.lang.Object intercept(javax.interceptor.InvocationContext context)
throws java.lang.Exception
context - InvocationContext
java.lang.Exception - e
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||