Tweak javadocs in SprinApplicationBuilder

This commit is contained in:
Dave Syer 2014-01-21 14:29:19 +00:00
parent 7e4ee4f720
commit ea3b82091b
2 changed files with 5 additions and 3 deletions

View File

@ -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;

View File

@ -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
*/ */