Package org.hibernate.internal
Class CoordinatingEntityNameResolver
- java.lang.Object
-
- org.hibernate.internal.CoordinatingEntityNameResolver
-
- All Implemented Interfaces:
EntityNameResolver
public class CoordinatingEntityNameResolver extends Object implements EntityNameResolver
-
-
Constructor Summary
Constructors Constructor Description CoordinatingEntityNameResolver(SessionFactoryImplementor sessionFactory, Interceptor interceptor)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
resolveEntityName(Object entity)
Given an entity instance, determine its entity name.
-
-
-
Constructor Detail
-
CoordinatingEntityNameResolver
public CoordinatingEntityNameResolver(SessionFactoryImplementor sessionFactory, Interceptor interceptor)
-
-
Method Detail
-
resolveEntityName
public String resolveEntityName(Object entity)
Description copied from interface:EntityNameResolver
Given an entity instance, determine its entity name.- Specified by:
resolveEntityName
in interfaceEntityNameResolver
- Parameters:
entity
- The entity instance.- Returns:
- The corresponding entity name, or
null
if this implementation does not know how to perform resolution for the given entity instance.
-
-