Class AbstractReflectionInstantiator<T>
java.lang.Object
com.blazebit.persistence.view.impl.proxy.AbstractReflectionInstantiator<T>
- All Implemented Interfaces:
ObjectInstantiator<T>
- Direct Known Subclasses:
AssignmentConstructorReflectionInstantiator,DirectConstructorReflectionInstantiator,TupleConstructorReflectionInstantiator
public abstract class AbstractReflectionInstantiator<T>
extends Object
implements ObjectInstantiator<T>
- Since:
- 1.2.0
- Author:
- Christian Beikov
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classstatic final class -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final AbstractReflectionInstantiator.MutableBasicUserTypeEntry[]protected final AbstractReflectionInstantiator.TypeConverterEntry[] -
Constructor Summary
ConstructorsConstructorDescriptionAbstractReflectionInstantiator(List<AbstractReflectionInstantiator.MutableBasicUserTypeEntry> mutableBasicUserTypes, List<AbstractReflectionInstantiator.TypeConverterEntry> typeConverterEntries, Class<?>[] parameterTypes) -
Method Summary
Modifier and TypeMethodDescriptionstatic Object[]createDefaultObject(int offset, Class<?>[] parameterTypes, int constructorParameterCount) static <T> ObjectInstantiator<T>createInstantiator(MappingConstructorImpl<T> mappingConstructor, ProxyFactory proxyFactory, ManagedViewTypeImplementor<T> managedViewType, Class<?>[] constructorParameterTypes, EntityViewManagerImpl evm, List<AbstractReflectionInstantiator.MutableBasicUserTypeEntry> mutableBasicUserTypes, List<AbstractReflectionInstantiator.TypeConverterEntry> typeConverterEntries) protected final voidfinalizeInstance(Object instance) protected final voidprepareTuple(Object[] tuple) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.blazebit.persistence.view.impl.proxy.ObjectInstantiator
newInstance
-
Field Details
-
mutableBasicUserTypes
-
typeConverters
-
-
Constructor Details
-
AbstractReflectionInstantiator
public AbstractReflectionInstantiator(List<AbstractReflectionInstantiator.MutableBasicUserTypeEntry> mutableBasicUserTypes, List<AbstractReflectionInstantiator.TypeConverterEntry> typeConverterEntries, Class<?>[] parameterTypes)
-
-
Method Details
-
createDefaultObject
-
createInstantiator
public static <T> ObjectInstantiator<T> createInstantiator(MappingConstructorImpl<T> mappingConstructor, ProxyFactory proxyFactory, ManagedViewTypeImplementor<T> managedViewType, Class<?>[] constructorParameterTypes, EntityViewManagerImpl evm, List<AbstractReflectionInstantiator.MutableBasicUserTypeEntry> mutableBasicUserTypes, List<AbstractReflectionInstantiator.TypeConverterEntry> typeConverterEntries) -
prepareTuple
-
finalizeInstance
-