Package org.hibernate.metamodel.internal
Class EmbeddableInstantiatorPojoOptimized
java.lang.Object
org.hibernate.metamodel.internal.AbstractPojoInstantiator
org.hibernate.metamodel.internal.EmbeddableInstantiatorPojoOptimized
- All Implemented Interfaces:
StandardEmbeddableInstantiator
,EmbeddableInstantiator
,Instantiator
public class EmbeddableInstantiatorPojoOptimized
extends AbstractPojoInstantiator
implements StandardEmbeddableInstantiator
Support for instantiating embeddables as POJO representation
using bytecode optimizer
-
Constructor Summary
ConstructorDescriptionEmbeddableInstantiatorPojoOptimized
(Class<?> embeddableClass, Supplier<EmbeddableMappingType> embeddableMappingAccess, ReflectionOptimizer.InstantiationOptimizer instantiationOptimizer) -
Method Summary
Modifier and TypeMethodDescriptioninstantiate
(ValueAccess valuesAccess, SessionFactoryImplementor sessionFactory) Create an instance of the embeddableMethods inherited from class org.hibernate.metamodel.internal.AbstractPojoInstantiator
getMappedPojoClass, isAbstract, isInstance, isSameClass
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.hibernate.metamodel.spi.Instantiator
isInstance, isSameClass
-
Constructor Details
-
EmbeddableInstantiatorPojoOptimized
public EmbeddableInstantiatorPojoOptimized(Class<?> embeddableClass, Supplier<EmbeddableMappingType> embeddableMappingAccess, ReflectionOptimizer.InstantiationOptimizer instantiationOptimizer)
-
-
Method Details
-
instantiate
Description copied from interface:EmbeddableInstantiator
Create an instance of the embeddable- Specified by:
instantiate
in interfaceEmbeddableInstantiator
-