Annotation Type AemObject
Sling Models Injector which injects the Adobe AEM objects defined in
<cq:defineObjects/>.
the following objects can be injected:
- resource the current resource
- resourceResolver the current resource resolver
- componentContext component context of this request
- pageManager page manager
- currentPage containing page addressed by the request
- resourcePage containing page of the addressed resource
- designer the designer
- currentDesign design of the addressed resource
- resourceDesign design of the addressed resource
- currentStyle style addressed by the request
- session the current session
- xssApi cross site scripting provider for the current request
-
Optional Element Summary
Optional ElementsModifier and TypeOptional ElementDescriptionorg.apache.sling.models.annotations.injectorspecific.InjectionStrategyif set to REQUIRED injection is mandatory, if set to OPTIONAL injection is optional, in case of DEFAULT the standard annotations (Optional,Required) are used. -
Field Summary
Fields
-
Field Details
-
SOURCE
Source value used for this annotation.- See Also:
-
Source- Constant Field Values
-
-
Element Details
-
injectionStrategy
org.apache.sling.models.annotations.injectorspecific.InjectionStrategy injectionStrategyif set to REQUIRED injection is mandatory, if set to OPTIONAL injection is optional, in case of DEFAULT the standard annotations (Optional,Required) are used. If even those are not available the default injection strategy defined on theModelapplies. Default value = DEFAULT.- Default:
- DEFAULT
-