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. @throws BeansException if the bean factory could not be initialized @throws IllegalStateException if already initialized and multiple refreshattempts are not supported
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|