Commit ea3b8209 authored by Dave Syer's avatar Dave Syer

Tweak javadocs in SprinApplicationBuilder

parent 7e4ee4f7
...@@ -21,7 +21,7 @@ import java.util.Map; ...@@ -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 { ...@@ -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
*/ */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment