public class MonitoringInterceptor extends Object implements Serializable
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 and Description |
|---|
MonitoringInterceptor()
Constructeur.
|
| Modifier and Type | Method and Description |
|---|---|
protected String |
getRequestName(InvocationContext context)
Determine request name for an invocation context.
|
Object |
intercept(InvocationContext context)
Intercepte une exécution de méthode sur un ejb.
|
public Object intercept(InvocationContext context) throws Exception
context - InvocationContextException - eprotected String getRequestName(InvocationContext context)
context - the invocation context (not null)Copyright © 2008–2020 Emeric Vernat. All rights reserved.