com.custardsource.parfait.spring.timing.BeanSpecification 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.timing;
import org.springframework.beans.factory.config.ConfigurableListableBeanFactory;
public final class BeanSpecification {
private final String name;
private final ConfigurableListableBeanFactory beanFactory;
public BeanSpecification(String name, ConfigurableListableBeanFactory beanFactory) {
this.name = name;
this.beanFactory = beanFactory;
}
public String getName() {
return name;
}
public ConfigurableListableBeanFactory getBeanFactory() {
return beanFactory;
}
}