Interface PropertyAccessStrategyResolver

  • All Superinterfaces:
    Serializable, Service
    All Known Implementing Classes:

    public interface PropertyAccessStrategyResolver
    extends Service
    Contract for resolving the PropertyAccessStrategy to use.

    todo : moving forward I'd prefer this not be a service, but instead a strategy on the MetadataBuildingContext or MetadataBuildingOptions

    • Method Detail

      • resolvePropertyAccessStrategy

        PropertyAccessStrategy resolvePropertyAccessStrategy​(Class<?> containerClass,
                                                             String explicitAccessStrategyName,
                                                             RepresentationMode representationMode)
        Resolve the PropertyAccessStrategy to use
        containerClass - The java class of the entity
        explicitAccessStrategyName - The access strategy name explicitly specified, if any.
        representationMode - The entity mode in effect for the property, used to interpret different default strategies.
        The resolved PropertyAccessStrategy