Closed
Description
Chris Beams opened SPR-7420 and commented
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:
- Enabling annotation-driven transaction management (
<tx:annotation-driven/>
) - Enabling annotation-driven scheduling (
<task:annotation-driven/>
) - Enabling AspectJ auto-proxying (
<aop:aspectj-autoproxy
) - Enabling domain object DI with
@Configurable
(<aop:spring-configured/>
) - Enabling property-placeholder replacement (
<context:property-placeholder/>
) - Enabling AspectJ load-time weaving (
<context:load-time-weaver/>
) - Enabling MBean Export (
<context:mbean-export/>
) - Enabling component scanning (
<context:component-scan/>
) - Performing JNDI lookups (
<jee:jndi-lookup/>
) - Looking up local and remote stateless session beans (
<jee:local-slsb/>
;<jee:remote-slsb/>
)
Sub-tasks:
- Resolve remaining SPR-7420 TODO items [SPR-8041] #12696 Resolve remaining SPR-7420 TODO items
Issue Links:
- Add @ComponentScan annotation [SPR-7194] #11848 Add
@ComponentScan
annotation - Introduce @EnableSpringConfigured [SPR-7888] #12544 Introduce
@EnableSpringConfigured
- Provide TestContext support for @Configuration classes [SPR-6184] #10852 Provide TestContext support for
@Configuration
classes - Decouple XML parsing from bean registration in BeanDefinitionParsers [SPR-5102] #9775 Decouple XML parsing from bean registration in BeanDefinitionParsers
22 votes, 23 watchers