Spring
Why Spring
Overview
  • Trending
  • Generative AI Cloud
  • Architecture Patterns
  • Microservices Reactive Event Driven
  • Application Types
  • Web Applications Serverless Batch
    Learn
  • Getting Started
  • Quickstart Guides
  • Academy
  • Courses Get Certified
    Projects
    Overview
  • Projects
  • Spring Boot Spring Framework Spring Cloud Spring AI Spring Data Spring Integration Spring Batch Spring Security
  • Foundational Projects
  • Micrometer Reactor
  • Development Tools
  • Spring Tools Spring Initializr
    Resources
    Blog Release Calendar Version Mappings Release Highlights Security Advisories
  • GitHub Orgs
  • Spring Projects Spring Cloud
    Community
    Overview Events Authors
    Enterprise
    Overview Long-term Support Automated Upgrades Governance and Compliance Modern App Development
    Spring Framework 6.2.20-SNAPSHOT
      • Overview
      • Core Technologies
        • The IoC Container
          • Introduction to the Spring IoC Container and Beans
          • Container Overview
          • Bean Overview
          • Dependencies
            • Dependency Injection
            • Dependencies and Configuration in Detail
            • Using depends-on
            • Lazy-initialized Beans
            • Autowiring Collaborators
            • Method Injection
          • Bean Scopes
          • Customizing the Nature of a Bean
          • Bean Definition Inheritance
          • Container Extension Points
          • Annotation-based Container Configuration
            • Using @Autowired
            • Fine-tuning Annotation-based Autowiring with @Primary or @Fallback
            • Fine-tuning Annotation-based Autowiring with Qualifiers
            • Using Generics as Autowiring Qualifiers
            • Using CustomAutowireConfigurer
            • Injection with @Resource
            • Using @Value
            • Using @PostConstruct and @PreDestroy
          • Classpath Scanning and Managed Components
          • Using JSR 330 Standard Annotations
          • Java-based Container Configuration
            • Basic Concepts: @Bean and @Configuration
            • Instantiating the Spring Container by Using AnnotationConfigApplicationContext
            • Using the @Bean Annotation
            • Using the @Configuration annotation
            • Composing Java-based Configurations
          • Environment Abstraction
          • Registering a LoadTimeWeaver
          • Additional Capabilities of the ApplicationContext
          • The BeanFactory API