Interface PropertyAccessStrategyResolver

  • All Superinterfaces:, Service

    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​(java.lang.Class containerClass,
                                                             java.lang.String explicitAccessStrategyName,
                                                             EntityMode entityMode)
        Resolve the PropertyAccessStrategy to use
        containerClass - The java class of the entity
        explicitAccessStrategyName - The access strategy name explicitly specified, if any.
        entityMode - The entity mode in effect for the property, used to interpret different default strategies.
        The resolved PropertyAccessStrategy