|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Listener
This interface exposes the call flow Listener API. This interface is implemented by listeners that are registered with the call flow agent, in order to receive the call flow trap point notifications. Note 1: There are no ordering guaratees for the various notifications. Note 2: A listener implementation must be stateless. This is allow the listener to be accessed concurrently by multiple threads, and yet avoid synchronization overhead associated with protected access to shared state, in a multi-threaded environment. Note 3: It is also imperative that the listener implementation is light-weight, and avoids time consuming operations such as disk access, logging, synchronization locks, et cetera. This will ensure that the listener does not negatively impact the performance of the application thread.
| Method Summary | |
|---|---|
void |
ejbMethodEnd(java.lang.String requestId,
java.lang.Throwable exception)
This notification indicates that an EJB method has completed. |
void |
ejbMethodStart(java.lang.String requestId,
java.lang.String methodName,
java.lang.String applicationName,
java.lang.String moduleName,
java.lang.String componentName,
ComponentType componentType,
java.lang.String callerPrincipal,
java.lang.String transactionId)
This notification indicates that an EJB method is about to be invoked. |
void |
entityManagerMethodEnd(java.lang.String requestId)
This notification indicates that an EntityManager method has completed. |
void |
entityManagerMethodStart(java.lang.String requestId,
EntityManagerMethod entityManagerMethod,
java.lang.String applicationName,
java.lang.String moduleName,
java.lang.String componentName,
ComponentType componentType,
java.lang.String callerPrincipal)
This notification indicates that an EntityManager method is about to be invoked. |
void |
entityManagerQueryEnd(java.lang.String requestId)
This notification indicates that an EntityManager Query method has completed. |
void |
entityManagerQueryStart(java.lang.String requestId,
EntityManagerQueryMethod queryMethod,
java.lang.String applicationName,
java.lang.String moduleName,
java.lang.String componentName,
ComponentType componentType,
java.lang.String callerPrincipal)
This notification indicates that an EntityManager Query method is about to be invoked. |
void |
requestEnd(java.lang.String requestId)
This notification indicates that a request is about to complete. |
void |
requestStart(java.lang.String requestId,
RequestType requestType,
java.lang.String callerIPAddress,
java.lang.String remoteUser)
This notification indicates that a request is being started. |
void |
webMethodEnd(java.lang.String requestId,
java.lang.Throwable exception)
This notification indicates that a web method has completed. |
void |
webMethodStart(java.lang.String requestId,
java.lang.String methodName,
java.lang.String applicationName,
java.lang.String moduleName,
java.lang.String componentName,
ComponentType componentType,
java.lang.String callerPrincipal)
This notification indicates that a web method is about to be invoked. |
| Method Detail |
|---|
void requestStart(java.lang.String requestId,
RequestType requestType,
java.lang.String callerIPAddress,
java.lang.String remoteUser)
requestType - Type of the request.callerIPAddress - Client host IP address of caller.void requestEnd(java.lang.String requestId)
void ejbMethodStart(java.lang.String requestId,
java.lang.String methodName,
java.lang.String applicationName,
java.lang.String moduleName,
java.lang.String componentName,
ComponentType componentType,
java.lang.String callerPrincipal,
java.lang.String transactionId)
void ejbMethodEnd(java.lang.String requestId,
java.lang.Throwable exception)
void webMethodStart(java.lang.String requestId,
java.lang.String methodName,
java.lang.String applicationName,
java.lang.String moduleName,
java.lang.String componentName,
ComponentType componentType,
java.lang.String callerPrincipal)
void webMethodEnd(java.lang.String requestId,
java.lang.Throwable exception)
void entityManagerMethodStart(java.lang.String requestId,
EntityManagerMethod entityManagerMethod,
java.lang.String applicationName,
java.lang.String moduleName,
java.lang.String componentName,
ComponentType componentType,
java.lang.String callerPrincipal)
void entityManagerMethodEnd(java.lang.String requestId)
void entityManagerQueryStart(java.lang.String requestId,
EntityManagerQueryMethod queryMethod,
java.lang.String applicationName,
java.lang.String moduleName,
java.lang.String componentName,
ComponentType componentType,
java.lang.String callerPrincipal)
void entityManagerQueryEnd(java.lang.String requestId)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||