podFactory property

  1. @protected
ConfigurableListablePodFactory? podFactory
getter/setter pair

The pod factory associated with this application context.

This is the core dependency injection container that manages pod definitions, instantiation, and dependency resolution.

Responsibilities:

  • Pod definition registration and storage
  • Dependency injection and resolution
  • Singleton management and caching
  • Lifecycle coordination with context
  • Circular dependency detection and handling

Access Pattern:

Subclasses should access the pod factory through getPodFactory() rather than directly accessing this field to ensure proper lifecycle state checking.

Implementation

@protected
ConfigurableListablePodFactory? podFactory;