etm.contrib.integration.spring.configuration
Class MonitoringBeanDefinitionParser.NamedEtmMethodCallInterceptor

java.lang.Object
  extended by etm.contrib.aop.aopalliance.EtmMethodCallInterceptor
      extended by etm.contrib.integration.spring.configuration.MonitoringBeanDefinitionParser.NamedEtmMethodCallInterceptor
All Implemented Interfaces:
org.aopalliance.aop.Advice, org.aopalliance.intercept.Interceptor, org.aopalliance.intercept.MethodInterceptor
Enclosing class:
MonitoringBeanDefinitionParser

public static class MonitoringBeanDefinitionParser.NamedEtmMethodCallInterceptor
extends EtmMethodCallInterceptor

A EtmMethodCallInterceptor that uses one name for all measurement points.


Constructor Summary
MonitoringBeanDefinitionParser.NamedEtmMethodCallInterceptor(EtmMonitor aEtmMonitor)
           
 
Method Summary
protected  java.lang.String calculateName(org.aopalliance.intercept.MethodInvocation aMethodInvocation)
          Calculate EtmPoint name based on the method invocation.
 void setName(java.lang.String aName)
           
 
Methods inherited from class etm.contrib.aop.aopalliance.EtmMethodCallInterceptor
alterNamePostException, calculateShortName, invoke
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MonitoringBeanDefinitionParser.NamedEtmMethodCallInterceptor

public MonitoringBeanDefinitionParser.NamedEtmMethodCallInterceptor(EtmMonitor aEtmMonitor)
Method Detail

setName

public void setName(java.lang.String aName)

calculateName

protected java.lang.String calculateName(org.aopalliance.intercept.MethodInvocation aMethodInvocation)
Description copied from class: EtmMethodCallInterceptor
Calculate EtmPoint name based on the method invocation.

Overrides:
calculateName in class EtmMethodCallInterceptor
Parameters:
aMethodInvocation - The method invocation.
Returns:
The name of the EtmPoint.


Copyright © 2004,2005, 2006, 2007 void.fm. All Rights Reserved.