1 23 24 30 31 package com.sun.enterprise.admin.monitor.callflow; 32 33 import java.util.List ; 34 import java.util.Map ; 35 36 68 public interface Agent { 69 70 73 74 91 public void requestStart(RequestType requestType); 92 93 101 public void addRequestInfo(RequestInfo requestInfo, String value); 102 103 108 public void requestEnd(); 109 110 118 public void startTime(ContainerTypeOrApplicationType type); 119 120 126 public void endTime(); 127 128 130 142 public void ejbMethodStart(CallFlowInfo info); 143 144 152 public void ejbMethodEnd(CallFlowInfo info); 153 154 162 public void webMethodStart( 163 String methodName, String applicationName, String moduleName, 164 String componentName, ComponentType componentType, 165 String callerPrincipal); 166 167 172 public void webMethodEnd(Throwable exception); 173 174 177 178 181 public ThreadLocalData getThreadLocalData(); 182 183 186 187 193 public void registerListener(Listener listener); 194 195 198 public void unregisterListener(Listener listener); 199 200 203 204 206 211 public void setEnable(boolean enable); 212 213 220 public boolean isEnabled(); 221 222 224 233 public void setCallerIPFilter(String ipAddress); 234 235 239 public String getCallerIPFilter (); 240 241 249 public void setCallerPrincipalFilter(String callerPrincipal); 250 251 255 public String getCallerPrincipalFilter(); 256 257 261 public void clearData (); 262 263 266 public boolean deleteRequestIds (String [] requestIds); 267 272 public List <Map <String , String >> getRequestInformation(); 273 274 279 public List <Map <String , String >> getCallStackForRequest(String requestId); 280 281 287 public Map <String , String > getPieInformation(String requestID); 288 } 289 | Popular Tags |