You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Support Java-Based Application Configuration [SPR-7420] #12078
has: votes-jiraIssues migrated from JIRA with more than 10 votes at the time of importin: coreIssues in core modules (aop, beans, core, context, expression)type: enhancementA general enhancement
Spring 3.0 introduced Java-Based bean definitions with @Configuration and @Bean.
This new feature for Spring 3.1 will introduce Java-based mechanisms for enabling the higher-level application configuration functionality currently found only in Spring's XML namespaces. These include but are not limited to:
This work is complete, coming largely in the form of Spring's new @Enable* annotations, such as @EnableTransactionManagement, @EnableScheduling, etc. Also includes the new @ComponentScan annotation, as well as the new LocalSessionFactoryBuilder in the orm.hibernate4 package which allows for convenient programmatic configuration of a Hibernate SessionFactory within @Bean methods without needing to deal with Spring's FactoryBean contract.
See Javadoc for each of these classes for complete details and code examples; reference documentation is pending at time of this resolution but will be complete for 3.1 GA.
has: votes-jiraIssues migrated from JIRA with more than 10 votes at the time of importin: coreIssues in core modules (aop, beans, core, context, expression)type: enhancementA general enhancement
Activity
spring-projects-issues commentedon Dec 6, 2011
Chris Beams commented
This work is complete, coming largely in the form of Spring's new
@Enable*annotations, such as@EnableTransactionManagement,@EnableScheduling, etc. Also includes the new@ComponentScanannotation, as well as the newLocalSessionFactoryBuilderin theorm.hibernate4package which allows for convenient programmatic configuration of a HibernateSessionFactorywithin@Beanmethods without needing to deal with Spring'sFactoryBeancontract.See Javadoc for each of these classes for complete details and code examples; reference documentation is pending at time of this resolution but will be complete for 3.1 GA.