public class ImmutablesFactory
extends org.apache.ibatis.reflection.factory.DefaultObjectFactory
| Constructor and Description |
|---|
ImmutablesFactory() |
| Modifier and Type | Method and Description |
|---|---|
<T> T |
create(Class<T> type)
This is the default call when not using the constructor configuration.
|
<T> T |
create(Class<T> type,
List<Class<?>> constructorArgTypes,
List<Object> constructorArgs)
This is the call MyBatis uses when constructor is used in the mapping.
|
public <T> T create(Class<T> type)
create in interface org.apache.ibatis.reflection.factory.ObjectFactorycreate in class org.apache.ibatis.reflection.factory.DefaultObjectFactoryT - type - public <T> T create(Class<T> type, List<Class<?>> constructorArgTypes, List<Object> constructorArgs)
create in interface org.apache.ibatis.reflection.factory.ObjectFactorycreate in class org.apache.ibatis.reflection.factory.DefaultObjectFactoryT - type - constructorArgTypes - constructorArgs - Copyright © 2019. All rights reserved.