@Target(value=TYPE) @Retention(value=RUNTIME) @Documented @Import(value=org.springframework.boot.autoconfigure.EnableAutoConfigurationImportSelector.class) public @interface EnableAutoConfiguration
tomat-embedded.jar on your classpath
you are likely to want a TomcatEmbeddedServletContainerFactory (unless you have
defined your own EmbeddedServletContainerFactory bean).
Auto-configuration tries to be as intelligent as possible and will back-away as you
define more of your own configuration. You can always manually exclude() any
configuration that you never want to apply. Auto-configuration is always applied after
user-defined beans have been registered.
Auto-configuration classes are regular Spring Configuration beans. They are
located using the SpringFactoriesLoader mechanism (keyed against this class).
Generally auto-configuration beans are @Conditional beans (most
often using @ConditionalOnClass and
@ConditionalOnMissingBean annotations).
ConditionalOnBean,
ConditionalOnMissingBean,
ConditionalOnClass,
AutoConfigureAfterpublic abstract Class<?>[] exclude
Copyright © 2013. All rights reserved.