|
1 | 1 | /*
|
2 |
| - * Copyright 2002-2018 the original author or authors. |
| 2 | + * Copyright 2002-2020 the original author or authors. |
3 | 3 | *
|
4 | 4 | * Licensed under the Apache License, Version 2.0 (the "License");
|
5 | 5 | * you may not use this file except in compliance with the License.
|
@@ -147,11 +147,12 @@ public interface ConfigurableApplicationContext extends ApplicationContext, Life
|
147 | 147 | void addProtocolResolver(ProtocolResolver resolver);
|
148 | 148 |
|
149 | 149 | /**
|
150 |
| - * Load or refresh the persistent representation of the configuration, |
151 |
| - * which might an XML file, properties file, or relational database schema. |
| 150 | + * Load or refresh the persistent representation of the configuration, which |
| 151 | + * might be from Java-based configuration, an XML file, a properties file, a |
| 152 | + * relational database schema, or some other format. |
152 | 153 | * <p>As this is a startup method, it should destroy already created singletons
|
153 | 154 | * if it fails, to avoid dangling resources. In other words, after invocation
|
154 |
| - * of that method, either all or no singletons at all should be instantiated. |
| 155 | + * of this method, either all or no singletons at all should be instantiated. |
155 | 156 | * @throws BeansException if the bean factory could not be initialized
|
156 | 157 | * @throws IllegalStateException if already initialized and multiple refresh
|
157 | 158 | * attempts are not supported
|
|
0 commit comments