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
Constructors Constructor Description EmbeddableInstantiatorPojoOptimized(JavaType<?> javaType, Supplier<EmbeddableMappingType> embeddableMappingAccess, ReflectionOptimizer.InstantiationOptimizer instantiationOptimizer)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Object
instantiate(ValueAccess valuesAccess, SessionFactoryImplementor sessionFactory)
Create an instance of the embeddable-
Methods 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 Detail
-
EmbeddableInstantiatorPojoOptimized
public EmbeddableInstantiatorPojoOptimized(JavaType<?> javaType, Supplier<EmbeddableMappingType> embeddableMappingAccess, ReflectionOptimizer.InstantiationOptimizer instantiationOptimizer)
-
-
Method Detail
-
instantiate
public Object instantiate(ValueAccess valuesAccess, SessionFactoryImplementor sessionFactory)
Description copied from interface:EmbeddableInstantiator
Create an instance of the embeddable- Specified by:
instantiate
in interfaceEmbeddableInstantiator
-
-