public interface PropertyAccessStrategyResolver extends Service
Contract for resolving the PropertyAccessStrategy to use. <p/> todo : moving forward I’d prefer this not be a service, but instead a strategy on the MetadataBuildingContext or MetadataBuildingOptions
Modifier and Type | Method and Description |
---|---|
PropertyAccessStrategy |
resolvePropertyAccessStrategy(Class containerClass,
String explicitAccessStrategyName,
EntityMode entityMode)
Resolve the PropertyAccessStrategy to use
|
PropertyAccessStrategy resolvePropertyAccessStrategy(Class containerClass, String explicitAccessStrategyName, EntityMode entityMode)
Resolve the PropertyAccessStrategy to use
containerClass
- The java class of the entityexplicitAccessStrategyName
- The access strategy name explicitly specified, if any.entityMode
- The entity mode in effect for the property, used to interpret different default strategies.Copyright © 2001-2018 Red Hat, Inc. All Rights Reserved.