CallflowEventListenerpublic class CallflowEventListener extends Object implements com.sun.enterprise.admin.monitor.callflow.Listener
Fields Summary |
---|
private static TraceEventImpl | traceImpl | private static CallflowEventListener | _instance |
Methods Summary |
---|
public void | ejbMethodEnd(java.lang.String requestId, java.lang.Throwable exception)
traceImpl.ejbMethodEnd(requestId, exception, System.nanoTime(),
Thread.currentThread().toString());
| public void | ejbMethodStart(java.lang.String requestId, java.lang.String methodName, java.lang.String applicationName, java.lang.String moduleName, java.lang.String componentName, com.sun.enterprise.admin.monitor.callflow.ComponentType componentType, java.lang.String securityId, java.lang.String transactionId)
traceImpl.ejbMethodStart(requestId, methodName, componentType.toString(), applicationName,
moduleName, componentName, transactionId, securityId,
System.nanoTime(),Thread.currentThread().toString());
| public void | entityManagerMethodEnd(java.lang.String requestId)
//@TODO
| public void | entityManagerMethodStart(java.lang.String requestId, com.sun.enterprise.admin.monitor.callflow.EntityManagerMethod entityManagerMethod, java.lang.String applicationName, java.lang.String moduleName, java.lang.String componentName, com.sun.enterprise.admin.monitor.callflow.ComponentType componentType, java.lang.String callerPrincipal)
//@TODO
| public void | entityManagerQueryEnd(java.lang.String requestId)
//@TODO
| public void | entityManagerQueryStart(java.lang.String requestId, com.sun.enterprise.admin.monitor.callflow.EntityManagerQueryMethod queryMethod, java.lang.String applicationName, java.lang.String moduleName, java.lang.String componentName, com.sun.enterprise.admin.monitor.callflow.ComponentType componentType, java.lang.String callerPrincipal)
//@TODO
| static com.sun.enterprise.admin.selfmanagement.event.CallflowEventListener | getInstance()
return _instance;
| static synchronized void | register()
Switch.getSwitch().getCallFlowAgent().registerListener(getInstance());
| public void | requestEnd(java.lang.String requestId)
traceImpl.requestEnd(requestId, System.nanoTime(),
Thread.currentThread().toString());
| public void | requestStart(java.lang.String requestId, com.sun.enterprise.admin.monitor.callflow.RequestType requestType, java.lang.String callerIPAddress, java.lang.String remoteUser)
traceImpl.requestStart(requestId, requestType, callerIPAddress,
System.nanoTime(), Thread.currentThread().toString());
| static synchronized void | setTraceImpl(TraceEventImpl impl)
traceImpl = impl;
// Switch.getSwitch().getCallFlowAgent().enableForNotifications(true);
| static synchronized void | unregister()
Switch.getSwitch().getCallFlowAgent().unregisterListener(getInstance());
| public void | webMethodEnd(java.lang.String requestId, java.lang.Throwable exception)
traceImpl.webMethodEnd(requestId,exception, System.nanoTime(),
Thread.currentThread().toString());
| public void | webMethodStart(java.lang.String requestId, java.lang.String methodName, java.lang.String applicationName, java.lang.String moduleName, java.lang.String componentName, com.sun.enterprise.admin.monitor.callflow.ComponentType componentType, java.lang.String callerPrincipal)
traceImpl.webMethodStart(requestId, methodName, applicationName, componentType.toString(),
componentName, callerPrincipal, System.nanoTime(),
Thread.currentThread().toString());
|
|