Register a
org.springframework.beans.factory.config.BeanDefinition for any
classes specified by
#register(Class...) and scan any packages specified by
#scan(String...).
For any values specified by
#setConfigLocation(String) or
#setConfigLocations(String[]), attempt first to load each location as a
class, registering a
BeanDefinition if class loading is successful, and if
class loading fails (i.e. a
ClassNotFoundException is raised), assume the
value is a package and attempt to scan it for annotated classes.
Enables the default set of annotation configuration post processors, such that
@Autowired,
@Required, and associated annotations can be used.
Configuration class bean definitions are registered with generated bean definition
names unless the
value attribute is provided to the stereotype annotation.