1 16 17 package org.springframework.context; 18 19 import org.springframework.beans.BeansException; 20 import org.springframework.beans.factory.config.BeanFactoryPostProcessor; 21 import org.springframework.beans.factory.config.ConfigurableListableBeanFactory; 22 23 36 public interface ConfigurableApplicationContext extends ApplicationContext, Lifecycle { 37 38 46 void setParent(ApplicationContext parent); 47 48 54 void addBeanFactoryPostProcessor(BeanFactoryPostProcessor beanFactoryPostProcessor); 55 56 66 void refresh() throws BeansException, IllegalStateException ; 67 68 76 void registerShutdownHook(); 77 78 86 void close(); 87 88 96 boolean isActive(); 97 98 117 ConfigurableListableBeanFactory getBeanFactory() throws IllegalStateException ; 118 119 } 120 | Popular Tags |