List of usage examples for org.springframework.beans.factory.support DefaultListableBeanFactory subclass-usage
From source file dirty.mockito.spring.context.TestBeanFactory.java
/**
* A simple extension of {@link DefaultListableBeanFactory} that initializes the
* common/useful bean post processors.
*
* @author Alistair A. Israel
* @since 0.2.2
From source file b2s.springframework.metric.MetricCapturingListableBeanFactory.java
public class MetricCapturingListableBeanFactory extends DefaultListableBeanFactory { private ArrayList<String> beanNesting = new ArrayList<String>(); private LinkedHashMap<String, BeanMetric> beanIdToMetric = new LinkedHashMap<String, BeanMetric>(); @Override protected Object doCreateBean(String beanName, RootBeanDefinition mbd, Object[] args) {
From source file ch.nydi.spring.context.support.PrimaryResolverListableBeanFactory.java
/** * Overrides <code>getBean()</code> to resolve primary marked beans if more than one bean found for a type. * * @author Daniel Nydegger */ public class PrimaryResolverListableBeanFactory extends DefaultListableBeanFactory {
From source file com.geodevv.testing.irmina.IrminaListableBeanFactory.java
@Named public class IrminaListableBeanFactory extends DefaultListableBeanFactory { private static final Logger LOGGER = LoggerFactory.getLogger(IrminaListableBeanFactory.class); private MockedInjectionPointsRegister mockedInjectionPointsRegister;
From source file org.sakaiproject.util.NoisierDefaultListableBeanFactory.java
/**
* In Spring 1.2.6 and 1.2.8, when there's a problem pre-instantiating any singleton
* bean, all existing singleton beans are immediately destroyed. Unfortunately for
* developers, this destruction occurs without any explanation: neither the
* problematic bean's name nor the error stack is logged.
*
From source file org.carewebframework.api.spring.FrameworkBeanFactory.java
/**
* Implementation of DefaultListableBeanFactory that supports namespace extensions to bean
* declarations. Specifically, it supports:
* <p>
* The <b>cwf:override</b> attribute that can explicitly allow or disallow the overriding of a bean
* definition, independent of the settings for the application context. It should be applied to the
From source file org.apache.struts2.spring.ClassReloadingBeanFactory.java
/** * Same as DefaultListableBeanFactory, but it doesn't use the constructor and class cached in RootBeanDefinition */ public class ClassReloadingBeanFactory extends DefaultListableBeanFactory { @Override protected BeanWrapper createBeanInstance(String beanName, RootBeanDefinition mbd, Object[] args) {
From source file org.impalaframework.spring.ProxyCreatingBeanFactory.java
/** * Loads properties on startup - overrides getBeanDefinition to pick up * NoSuchBeanDefinitionException - disables preInstantiateSingletons */ public class ProxyCreatingBeanFactory extends DefaultListableBeanFactory {
From source file org.jboss.spring.factory.NamedXmlBeanFactory.java
/** * @author <a href="mailto:ales.justin@genera-lynx.com">Ales Justin</a> */ public class NamedXmlBeanFactory extends DefaultListableBeanFactory implements Nameable, Instantiable { private String defaultName;
From source file org.rosenvold.spring.convention.ConventionBeanFactory.java
public class ConventionBeanFactory extends DefaultListableBeanFactory { private final NameToClassResolver nameToClassResolver; private final CandidateEvaluator candidateEvaluator; private final Map<String, AnnotatedBeanDefinition> beanDefinitionMap = new ConcurrentHashMap<String, AnnotatedBeanDefinition>();