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.persistence.EntityManager;
|
||||||
import javax.sql.DataSource;
|
import javax.sql.DataSource;
|
||||||
|
|
||||||
import org.hibernate.ejb.HibernateEntityManager;
|
import org.hibernate.jpa.HibernateEntityManager;
|
||||||
import org.springframework.beans.factory.BeanClassLoaderAware;
|
import org.springframework.beans.factory.BeanClassLoaderAware;
|
||||||
import org.springframework.boot.autoconfigure.AutoConfigureAfter;
|
import org.springframework.boot.autoconfigure.AutoConfigureAfter;
|
||||||
import org.springframework.boot.autoconfigure.EnableAutoConfiguration;
|
import org.springframework.boot.autoconfigure.EnableAutoConfiguration;
|
||||||
|
|
|
||||||
|
|
@ -453,8 +453,10 @@ public class SpringApplicationBuilder {
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Add some initializers to the application (applied to the {@link ApplicationContext}
|
* Add some listeners to the application (listening for SpringApplication events as
|
||||||
* before any bean definitions are loaded).
|
* 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
|
* @param listeners some listeners to add
|
||||||
* @return the current builder
|
* @return the current builder
|
||||||
*/
|
*/
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue