Details
-
Improvement
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
None
Description
Currently, Sling Models only supports dependency injection for fields (or interface getter methods), but not for constructor arguments. This ticket is for discussing what this constructor dependency injection should support, and perhaps finally provide a patch to implement it.
This is somewhat related to SLING-3715 for class-based dependency injection, because this would come in especially handy for constructor injection.
Attachments
Attachments
Issue Links
- is related to
-
SLING-8069 Sling Models: Enable constructor injection to use non-public constructors
- Closed
- relates to
-
SLING-3715 Sling Models: Support for class-based dependency injection
- Resolved
-
SLING-3718 Sling Models: Add self Injector for supporting chains of object injecting dependencies from a common source
- Resolved
-
SLING-11917 Sling Models: Support parameter name evaluation in constructor injection
- Closed
- links to