Skip to content

Object configuration steps

Suremaker edited this page Dec 10, 2012 · 13 revisions

The Spring.FluentContext divides object definition construction into following steps:

  1. Definition registration *
  2. Scope definition
  3. [Indirect dependencies definition](Indirect object dependencies)
  4. Object Instantiation
  5. Lookup Method Injection **
  6. Autowiring
  7. Dependency Injection
  8. Initialization Behavior
  9. Finalization Behavior
  10. Dependency checking
  11. Definition referencing

* If RegisterXXXSingleton() method group is used, 2-10 construction steps would be skipped.

** This step is only accessible if object instantiation is not explicitly specified or is specified by using BindConstructorArg(), UseConstructor()

Clone this wiki locally