public interface ResourceModelPostProcessor
resource models
.
processAfterMapping(Object, Resource, ResourceModelFactory)
is invoked after
the model was created and injected and all
resource properties are mapped. All lifecycle callbacks where already
called at this point.
ResourceModelPostProcessor
that delegates to
other post processors in the desired order is advised.Modifier and Type | Method and Description |
---|---|
<T> T |
processAfterMapping(T resourceModel,
org.apache.sling.api.resource.Resource resource,
ResourceModelFactory factory)
Lifecycle callback invoked after the resource properties are mapped onto
the
ResourceModel . |
@CheckForNull <T> T processAfterMapping(@Nonnull T resourceModel, @Nonnull org.apache.sling.api.resource.Resource resource, @Nonnull ResourceModelFactory factory)
ResourceModel
.resourceModel
- is never null
.resource
- is never null
.factory
- is never null
.null
if the resource model is not to be changed.Copyright © 2024. All rights reserved.