mirror of
https://github.com/spring-projects/spring-boot.git
synced 2024-09-03 04:26:12 +08:00
Tweak javadocs in SprinApplicationBuilder
This commit is contained in:
parent
7e4ee4f720
commit
ea3b82091b
@ -21,7 +21,7 @@ import java.util.Map;
|
||||
import javax.persistence.EntityManager;
|
||||
import javax.sql.DataSource;
|
||||
|
||||
import org.hibernate.ejb.HibernateEntityManager;
|
||||
import org.hibernate.jpa.HibernateEntityManager;
|
||||
import org.springframework.beans.factory.BeanClassLoaderAware;
|
||||
import org.springframework.boot.autoconfigure.AutoConfigureAfter;
|
||||
import org.springframework.boot.autoconfigure.EnableAutoConfiguration;
|
||||
|
@ -453,8 +453,10 @@ public class SpringApplicationBuilder {
|
||||
}
|
||||
|
||||
/**
|
||||
* Add some initializers to the application (applied to the {@link ApplicationContext}
|
||||
* before any bean definitions are loaded).
|
||||
* Add some listeners to the application (listening for SpringApplication events as
|
||||
* well as regular Spring events once the context is running). Any listeners that are
|
||||
* also {@link ApplicationContextInitializer} will be added to the
|
||||
* {@link #initializers(ApplicationContextInitializer...) initializers} automatically.
|
||||
* @param listeners some listeners to add
|
||||
* @return the current builder
|
||||
*/
|
||||
|
Loading…
Reference in New Issue
Block a user