public interface AopSupport
ResourceModelFactory
or
ResourceModelPostProcessor
service is published that may yield AOP proxies, a suitable AopSupport
service must be published
that un-proxies the corresponding model instances such that they can be used for field injection.Modifier and Type | Method and Description |
---|---|
Object |
prepareForFieldInjection(Object model) |
@Nonnull Object prepareForFieldInjection(@Nonnull Object model)
model
- never null
. A model instance potentially affected by AOP (e.g., a proxy or enhanced type).null
. The returned model is exclusively
used for field injection, i.e. never directly returned when adapting to
or resolving
a model.Copyright © 2024. All rights reserved.