| 
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectch.elca.el4j.services.statistics.detailed.contextpassing.MeasureInterceptor
public class MeasureInterceptor
Invoker for measuring the time of calls to a EL4J service.
This invoker is not limited to a position. It may be used as Stub invoker or Proxy invoker.
Its configuration defines :
collector entry
 level entry
 
| Field Summary | |
|---|---|
protected static String | 
s_hostName
The host name.  | 
| Constructor Summary | |
|---|---|
MeasureInterceptor(MeasureCollectorService collectorService,
                   boolean isServer)
Deprecated. use the constructor with (MeasureCollectorService,String) instead  | 
|
MeasureInterceptor(MeasureCollectorService collectorService,
                   String vmName)
The constructor.  | 
|
| Method Summary | |
|---|---|
 Map<String,String> | 
getProxyMap()
Returns the mapping between proxied class names and their substitutes.  | 
 Object | 
invoke(org.aopalliance.intercept.MethodInvocation methodInvocation)
 | 
 void | 
setProxyMap(Map<String,String> proxyMap)
Sets the mapping between proxied class names and their subsitutes.  | 
| Methods inherited from class java.lang.Object | 
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Field Detail | 
|---|
protected static String s_hostName
| Constructor Detail | 
|---|
public MeasureInterceptor(MeasureCollectorService collectorService,
                          boolean isServer)
collectorService - The collectorService, where the measured data should be stored
            to.isServer - Is this a server (client=false).
public MeasureInterceptor(MeasureCollectorService collectorService,
                          String vmName)
collectorService - The collectorService, where the measured data should be stored
            to.vmName - Name of the virual machine| Method Detail | 
|---|
public Object invoke(org.aopalliance.intercept.MethodInvocation methodInvocation)
              throws Throwable
invoke in interface org.aopalliance.intercept.MethodInterceptorThrowablepublic void setProxyMap(Map<String,String> proxyMap)
proxyMap - Fully qualified class names and respective short name of
 replacement. Leave value empty if proxied class should be ignored.public Map<String,String> getProxyMap()
  | 
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||