List of usage examples for org.springframework.beans.factory.support BeanDefinitionReader getRegistry
BeanDefinitionRegistry getRegistry();
From source file:org.impalaframework.module.monitor.RootModuleContextMonitor.java
public RootModuleContextMonitor(BeanDefinitionReader beanDefinitionReader, Resource resource, ScheduledExecutorService executor) { super();/* w w w . j a v a 2 s . co m*/ Assert.notNull(beanDefinitionReader); Assert.notNull(resource); Assert.notNull(beanDefinitionReader.getRegistry()); this.beanDefinitionReader = beanDefinitionReader; this.resourceToWatch = resource; this.executor = executor; }