| Constructor and Description |
|---|
AgentAdapter() |
| Modifier and Type | Method and Description |
|---|---|
void |
addRequestInfo(RequestInfo requestInfo,
String value)
This method may be called by the container during request dispatch,
to add request information such as caller IP address, and remote
user name.
|
void |
clearData()
Clear all accumulated data collected in the previous CallFlow runs
from the database.
|
boolean |
deleteRequestIds(String[] requestIds)
Delete request ids from the database
|
void |
ejbMethodEnd(CallFlowInfo info)
This method is called by a request processor thread, after invoking a
business method on a target EJB.
|
void |
ejbMethodStart(CallFlowInfo info)
This method is called by a request processor thread, before invoking a
business method on a target EJB.
|
void |
endTime()
This method is called by a request processor thread, when the thread
of execution transitions out of the container code.
|
void |
entityManagerMethodEnd()
This method is called the persistence container on a request processor
thread, after invoking a method on the
|
void |
entityManagerMethodStart(EntityManagerMethod entityManagerMethod)
This method is called the persistence container on a request processor
thread, before invoking a method on the
|
void |
entityManagerQueryEnd()
This method is called the persistence container on a request processor
thread, after invoking a method on the
|
void |
entityManagerQueryStart(EntityManagerQueryMethod queryMethod)
This method is called the persistence container on a request processor
thread, before invoking a method on the
|
String |
getCallerIPFilter()
Gets the IP address of the client, only for which, call flow
information would be collected.
|
String |
getCallerPrincipalFilter()
Gets the caller principal, only for which, call flow information
would be collected.
|
List<Map<String,String>> |
getCallStackForRequest(String requestId) |
Map<String,String> |
getPieInformation(String requestID) |
List<Map<String,String>> |
getRequestInformation() |
ThreadLocalData |
getThreadLocalData() |
boolean |
isEnabled()
Get enabled information of call flow's persistent logging.
|
void |
registerListener(Listener listener)
Register a listener.
|
void |
requestEnd()
This method is called by a request processor thread, after completion
of request processing.
|
void |
requestStart(RequestType requestType)
This method is called by a request processor thread, dispatched by the
container to process a new request on behalf of a client, before any
request processing activity begins.
|
void |
setCallerIPFilter(String ipAddress)
Specifies the IP address of the client, only for which, call flow
information would be collected.
|
void |
setCallerPrincipalFilter(String callerPrincipal)
Specifies the caller principal, only for which, call flow information
would be collected.
|
void |
setEnable(boolean enable)
Enable or disable call flow.
|
void |
startTime(ContainerTypeOrApplicationType type)
This method is called by a request processor thread, when the thread
of execution transitions into the container code.
|
void |
unregisterListener(Listener listener)
Unregister a listener.
|
void |
webMethodEnd(Throwable exception)
This method is called by a request processor thread, after invoking a
target method on a filter or servlet.
|
void |
webMethodStart(String methodName,
String applicationName,
String moduleName,
String componentName,
ComponentType componentType,
String callerPrincipal)
This method is called by a request processor thread, before invoking a
target method on a filter or servlet.
|
public void requestStart(RequestType requestType)
AgentrequestStart in interface AgentrequestType - Type of the request.public void addRequestInfo(RequestInfo requestInfo, String value)
AgentstartTime is called.addRequestInfo in interface Agentpublic void requestEnd()
AgentrequestEnd in interface Agentpublic void startTime(ContainerTypeOrApplicationType type)
Agentpublic void endTime()
Agentpublic void ejbMethodStart(CallFlowInfo info)
AgentejbMethodStart in interface Agentinfo - This object encapsulates information such as method name,
component type, application name, module name, component name,
transaction id, and security id.public void ejbMethodEnd(CallFlowInfo info)
AgentejbMethodEnd in interface Agentinfo - This object encapsulates information about the outcome of
the invocation such as exception, if any.public void webMethodStart(String methodName, String applicationName, String moduleName, String componentName, ComponentType componentType, String callerPrincipal)
AgentwebMethodStart in interface Agentpublic void webMethodEnd(Throwable exception)
AgentwebMethodEnd in interface Agentpublic void entityManagerQueryStart(EntityManagerQueryMethod queryMethod)
AgententityManagerQueryStart in interface AgentQuery interfacepublic void entityManagerQueryEnd()
AgententityManagerQueryEnd in interface AgentQuery interfacepublic void entityManagerMethodStart(EntityManagerMethod entityManagerMethod)
AgententityManagerMethodStart in interface AgentEntityManager interfacepublic void entityManagerMethodEnd()
AgententityManagerMethodEnd in interface AgentEntityManager interfacepublic void registerListener(Listener listener)
AgentregisterListener in interface Agentpublic void unregisterListener(Listener listener)
AgentunregisterListener in interface Agentpublic ThreadLocalData getThreadLocalData()
getThreadLocalData in interface Agentpublic void setEnable(boolean enable)
Agentpublic boolean isEnabled()
Agentpublic void setCallerIPFilter(String ipAddress)
AgentsetCallerIPFilter in interface Agentpublic void setCallerPrincipalFilter(String callerPrincipal)
AgentsetCallerPrincipalFilter in interface Agentpublic String getCallerPrincipalFilter()
AgentgetCallerPrincipalFilter in interface Agentpublic String getCallerIPFilter()
AgentgetCallerIPFilter in interface Agentpublic void clearData()
Agentpublic boolean deleteRequestIds(String[] requestIds)
AgentdeleteRequestIds in interface Agentpublic List<Map<String,String>> getRequestInformation()
getRequestInformation in interface Agentpublic List<Map<String,String>> getCallStackForRequest(String requestId)
getCallStackForRequest in interface Agentpublic Map<String,String> getPieInformation(String requestID)
getPieInformation in interface AgentCopyright © 2017–2020 Eclipse Foundation. All rights reserved.