@ -166,11 +166,12 @@ public interface ConfigurableApplicationContext extends ApplicationContext, Life
@@ -166,11 +166,12 @@ public interface ConfigurableApplicationContext extends ApplicationContext, Life
void addProtocolResolver ( ProtocolResolver resolver ) ;
/ * *
* Load or refresh the persistent representation of the configuration ,
* which might an XML file , properties file , or relational database schema .
* Load or refresh the persistent representation of the configuration , which
* might be from Java - based configuration , an XML file , a properties file , a
* relational database schema , or some other format .
* < p > As this is a startup method , it should destroy already created singletons
* if it fails , to avoid dangling resources . In other words , after invocation
* of that method , either all or no singletons at all should be instantiated .
* of this method , either all or no singletons at all should be instantiated .
* @throws BeansException if the bean factory could not be initialized
* @throws IllegalStateException if already initialized and multiple refresh
* attempts are not supported