@ParametersAreNonnullByDefault public abstract class AbstractMapperFactory extends Object
DataMapper instances.| Constructor and Description |
|---|
AbstractMapperFactory() |
| Modifier and Type | Method and Description |
|---|---|
protected <T extends DataMapper> |
createMapper(Class<T> type,
Object... parameters)
Creates a new instance of the represented
DataMapper. |
protected <T extends DataMapper> |
createMapper(String typeName,
Object... parameters)
Creates a new instance of the represented
DataMapper. |
@Nonnull protected final <T extends DataMapper> T createMapper(String typeName, Object... parameters)
DataMapper.T - the type of the data mappertypeName - the name of the type to instantiateparameters - the parameters of the constructorDataMapperInvalidDataMapperException - if an error occurs during the instantiation@Nonnull protected final <T extends DataMapper> T createMapper(Class<T> type, Object... parameters)
DataMapper.T - the type of the data mappertype - the type to instantiateparameters - the parameters of the constructorDataMapperInvalidDataMapperException - if an error occurs during the instantiationCopyright © 2013–2019 Atlanmod. All rights reserved.