Package org.hibernate.metamodel.spi
Interface EntityRepresentationStrategy
- All Superinterfaces:
ManagedTypeRepresentationStrategy
- All Known Implementing Classes:
EntityRepresentationStrategyMap
,EntityRepresentationStrategyPojoStandard
Specialization of
ManagedTypeRepresentationStrategy
for an entity type
adding the ability to generate an instantiator and a proxy factory-
Method Summary
Modifier and TypeMethodDescriptionCreate a delegate capable of instantiating instances of the represented type.default JavaType<?>
The Java type descriptor for the type returned when the entity is loadedCreate the delegate capable of producing proxies for the given entityJavaType<?>
default boolean
default boolean
default void
visitEntityNameResolvers
(Consumer<EntityNameResolver> consumer) Methods inherited from interface org.hibernate.metamodel.spi.ManagedTypeRepresentationStrategy
getMappedJavaType, getMode, getReflectionOptimizer, resolvePropertyAccess
-
Method Details
-
getInstantiator
EntityInstantiator getInstantiator()Create a delegate capable of instantiating instances of the represented type. -
getProxyFactory
ProxyFactory getProxyFactory()Create the delegate capable of producing proxies for the given entity -
isLifecycleImplementor
default boolean isLifecycleImplementor() -
isBytecodeEnhanced
default boolean isBytecodeEnhanced() -
getProxyJavaType
JavaType<?> getProxyJavaType() -
getLoadJavaType
The Java type descriptor for the type returned when the entity is loaded -
visitEntityNameResolvers
-