Top Description Methods
org.hibernate.property.access.spi

public Interface PropertyAccessStrategyResolver

extends Service
Known Direct Implementers
org.hibernate.property.access.internal.PropertyAccessStrategyResolverStandardImpl
Imports
org.hibernate.metamodel.RepresentationMode, org.hibernate.service.Service

Contract for resolving the PropertyAccessStrategy to use.
Author
Steve Ebersole

Method Summary

Modifier and TypeMethod and Description
public PropertyAccessStrategy

Returns:

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

Resolve the PropertyAccessStrategy to use

Method Detail

resolvePropertyAccessStrategyback to summary
public PropertyAccessStrategy resolvePropertyAccessStrategy(Class<?> containerClass, String explicitAccessStrategyName, RepresentationMode representationMode)

Resolve the PropertyAccessStrategy to use

Parameters
containerClass:Class<?>

The java class of the entity

explicitAccessStrategyName:String

The access strategy name explicitly specified, if any.

representationMode:RepresentationMode

The entity mode in effect for the property, used to interpret different default strategies.

Returns:PropertyAccessStrategy

The resolved PropertyAccessStrategy