Package org.hibernate.metamodel.internal
Class EmbeddableInstantiatorPojoStandard
- java.lang.Object
-
- org.hibernate.metamodel.internal.AbstractPojoInstantiator
-
- org.hibernate.metamodel.internal.EmbeddableInstantiatorPojoStandard
-
- All Implemented Interfaces:
StandardEmbeddableInstantiator
,EmbeddableInstantiator
,Instantiator
public class EmbeddableInstantiatorPojoStandard extends AbstractPojoInstantiator implements StandardEmbeddableInstantiator
Support for instantiating embeddables as POJO representation
-
-
Constructor Summary
Constructors Constructor Description EmbeddableInstantiatorPojoStandard(Class<?> embeddableClass, Supplier<EmbeddableMappingType> embeddableMappingAccess)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Object
instantiate(ValueAccess valuesAccess, SessionFactoryImplementor sessionFactory)
Create an instance of the embeddableprotected static Constructor<?>
resolveConstructor(Class<?> mappedPojoClass)
-
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
-
EmbeddableInstantiatorPojoStandard
public EmbeddableInstantiatorPojoStandard(Class<?> embeddableClass, Supplier<EmbeddableMappingType> embeddableMappingAccess)
-
-
Method Detail
-
resolveConstructor
protected static Constructor<?> resolveConstructor(Class<?> mappedPojoClass)
-
instantiate
public Object instantiate(ValueAccess valuesAccess, SessionFactoryImplementor sessionFactory)
Description copied from interface:EmbeddableInstantiator
Create an instance of the embeddable- Specified by:
instantiate
in interfaceEmbeddableInstantiator
-
-