A developer is using a Sling Model to apply some business logic to the values stored in the JCR before outputting them to the page, and all injected fields are optional for this model.
What is the proper way to apply this behavior on the class level?
Submit