com.custardsource.parfait.spring.MonitoringAspect Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of parfait-spring Show documentation
Show all versions of parfait-spring Show documentation
Library enabling parfait timing collection around Spring beans using Spring AOP
package com.custardsource.parfait.spring;
import java.util.Map;
import java.util.concurrent.ConcurrentHashMap;
import org.aspectj.lang.ProceedingJoinPoint;
import org.springframework.beans.factory.BeanNameAware;
import com.custardsource.parfait.timing.EventMetricCollector;
import com.custardsource.parfait.timing.EventTimer;
import com.custardsource.parfait.timing.Timeable;
public class MonitoringAspect implements BeanNameAware, AdvisedAware {
private final Map