- Understand Factory pattern intent
- Locate factory behavior in Spring container
- Apply a simple factory example
flowchart TD
A["Client Code"] --> B["Factory\n(ApplicationContext)"]
B --> C{Bean Type?}
C -->|Service| D["ServiceBean"]
C -->|Repository| E["RepositoryBean"]
C -->|Controller| F["ControllerBean"]
D --> G["Return Bean Instance"]
E --> G
F --> G
G --> A
