|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sun.enterprise.admin.monitor.callflow.AgentAdapter
public class AgentAdapter
This class provides a fallback implementation.
| Constructor Summary | |
|---|---|
AgentAdapter()
|
|
| Method Summary | |
|---|---|
void |
addRequestInfo(RequestInfo requestInfo,
java.lang.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(java.lang.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 |
java.lang.String |
getCallerIPFilter()
Gets the IP address of the client, only for which, call flow information would be collected. |
java.lang.String |
getCallerPrincipalFilter()
Gets the caller principal, only for which, call flow information would be collected. |
java.util.List<java.util.Map<java.lang.String,java.lang.String>> |
getCallStackForRequest(java.lang.String requestId)
|
java.util.Map<java.lang.String,java.lang.String> |
getPieInformation(java.lang.String requestID)
|
java.util.List<java.util.Map<java.lang.String,java.lang.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(java.lang.String ipAddress)
Specifies the IP address of the client, only for which, call flow information would be collected. |
void |
setCallerPrincipalFilter(java.lang.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(java.lang.Throwable exception)
This method is called by a request processor thread, after invoking a target method on a filter or servlet. |
void |
webMethodStart(java.lang.String methodName,
java.lang.String applicationName,
java.lang.String moduleName,
java.lang.String componentName,
ComponentType componentType,
java.lang.String callerPrincipal)
This method is called by a request processor thread, before invoking a target method on a filter or servlet. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AgentAdapter()
| Method Detail |
|---|
public void requestStart(RequestType requestType)
Agent
requestStart in interface AgentrequestType - Type of the request.
public void addRequestInfo(RequestInfo requestInfo,
java.lang.String value)
AgentstartTime is called.
addRequestInfo in interface Agentpublic void requestEnd()
Agent
requestEnd in interface Agentpublic void startTime(ContainerTypeOrApplicationType type)
Agent
startTime in interface Agenttype - Describes the type of the container or application.public void endTime()
Agent
endTime in interface Agentpublic void ejbMethodStart(CallFlowInfo info)
Agent
ejbMethodStart 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)
Agent
ejbMethodEnd in interface Agentinfo - This object encapsulates information about the outcome of
the invocation such as exception, if any.
public void webMethodStart(java.lang.String methodName,
java.lang.String applicationName,
java.lang.String moduleName,
java.lang.String componentName,
ComponentType componentType,
java.lang.String callerPrincipal)
Agent
webMethodStart in interface Agentpublic void webMethodEnd(java.lang.Throwable exception)
Agent
webMethodEnd in interface Agentpublic void entityManagerQueryStart(EntityManagerQueryMethod queryMethod)
Agent
entityManagerQueryStart in interface AgentQuery interfacepublic void entityManagerQueryEnd()
Agent
entityManagerQueryEnd in interface AgentQuery interfacepublic void entityManagerMethodStart(EntityManagerMethod entityManagerMethod)
Agent
entityManagerMethodStart in interface AgentEntityManager interfacepublic void entityManagerMethodEnd()
Agent
entityManagerMethodEnd in interface AgentEntityManager interfacepublic void registerListener(Listener listener)
Agent
registerListener in interface Agentpublic void unregisterListener(Listener listener)
Agent
unregisterListener in interface Agentpublic ThreadLocalData getThreadLocalData()
getThreadLocalData in interface Agentpublic void setEnable(boolean enable)
Agent
setEnable in interface Agentenable - true, to turn on call flow.public boolean isEnabled()
Agent
isEnabled in interface Agentpublic void setCallerIPFilter(java.lang.String ipAddress)
Agent
setCallerIPFilter in interface Agentpublic void setCallerPrincipalFilter(java.lang.String callerPrincipal)
Agent
setCallerPrincipalFilter in interface Agentpublic java.lang.String getCallerPrincipalFilter()
Agent
getCallerPrincipalFilter in interface Agentpublic java.lang.String getCallerIPFilter()
Agent
getCallerIPFilter in interface Agentpublic void clearData()
Agent
clearData in interface Agentpublic boolean deleteRequestIds(java.lang.String[] requestIds)
Agent
deleteRequestIds in interface Agentpublic java.util.List<java.util.Map<java.lang.String,java.lang.String>> getRequestInformation()
getRequestInformation in interface Agentpublic java.util.List<java.util.Map<java.lang.String,java.lang.String>> getCallStackForRequest(java.lang.String requestId)
getCallStackForRequest in interface Agentpublic java.util.Map<java.lang.String,java.lang.String> getPieInformation(java.lang.String requestID)
getPieInformation in interface Agent
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||