Skip to content

Support Java-Based Application Configuration [SPR-7420] #12078

Closed

Description

@spring-projects-issues

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:

Issue Links:

22 votes, 23 watchers

Activity

  1. spring-projects-issues commented on Dec 6, 2011

    @spring-projects-issues
    CollaboratorAuthor

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

  2. added
    type: enhancement
    in: core
    has: votes-jira
    on Jan 11, 2019
  3. added this to the 3.1 GA milestone on Jan 11, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    has: votes-jirain: coretype: enhancement

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions