Top Description Fields Constructors Methods
org.hibernate.property.access.internal

public Class PropertyAccessStrategyResolverStandardImpl

extends Object
implements PropertyAccessStrategyResolver
Class Inheritance
All Implemented Interfaces
org.hibernate.property.access.spi.PropertyAccessStrategyResolver, org.hibernate.service.Service, java.io.Serializable
Imports
org.hibernate.EntityMode, .HibernateException, org.hibernate.boot.registry.selector.spi.StrategySelector, org.hibernate.engine.internal.ManagedTypeHelper, org.hibernate.internal.util.StringHelper, org.hibernate.property.access.spi.BuiltInPropertyAccessStrategies, .PropertyAccessStrategy, .PropertyAccessStrategyResolver, org.hibernate.service.ServiceRegistry

Standard implementation of PropertyAccessStrategyResolver
Author
Steve Ebersole

Field Summary

Modifier and TypeField and Description
private final ServiceRegistry
private StrategySelector

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
protected PropertyAccessStrategy
public PropertyAccessStrategy
resolvePropertyAccessStrategy(Class<T>
The java class of the entity
containerClass
,
String
The access strategy name explicitly specified, if any.
explicitAccessStrategyName
,
EntityMode
The entity mode in effect for the property, used to interpret different default strategies.
entityMode
)

Implements org.hibernate.property.access.spi.PropertyAccessStrategyResolver.resolvePropertyAccessStrategy.

Resolve the PropertyAccessStrategy to use
protected StrategySelector
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

serviceRegistryback to summary
private final ServiceRegistry serviceRegistry
strategySelectorServiceback to summary
private StrategySelector strategySelectorService

Constructor Detail

PropertyAccessStrategyResolverStandardImplback to summary
public PropertyAccessStrategyResolverStandardImpl(ServiceRegistry serviceRegistry)

Method Detail

resolveExplicitlyNamedPropertyAccessStrategyback to summary
protected PropertyAccessStrategy resolveExplicitlyNamedPropertyAccessStrategy(String explicitAccessStrategyName)
resolvePropertyAccessStrategyback to summary
public PropertyAccessStrategy resolvePropertyAccessStrategy(Class<T> containerClass, String explicitAccessStrategyName, EntityMode entityMode)

Implements org.hibernate.property.access.spi.PropertyAccessStrategyResolver.resolvePropertyAccessStrategy.

Doc from org.hibernate.property.access.spi.PropertyAccessStrategyResolver.resolvePropertyAccessStrategy.

Resolve the PropertyAccessStrategy to use

Parameters
containerClass:Class<T>

The java class of the entity

explicitAccessStrategyName:String

The access strategy name explicitly specified, if any.

entityMode:EntityMode

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

Returns:PropertyAccessStrategy

The resolved PropertyAccessStrategy

Annotations
@Override
strategySelectorServiceback to summary
protected StrategySelector strategySelectorService()