接口 PropertyAccessStrategyResolver

  • 所有超级接口:
    Serializable, Service
    所有已知实现类:
    PropertyAccessStrategyResolverStandardImpl

    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

    作者:
    Steve Ebersole
    • 方法详细资料

      • resolvePropertyAccessStrategy

        PropertyAccessStrategy resolvePropertyAccessStrategy​(Class containerClass,
                                                             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