| Package | Description |
|---|---|
| ma.glasnost.orika | |
| ma.glasnost.orika.impl | |
| ma.glasnost.orika.impl.mapping.strategy |
| Modifier and Type | Method and Description |
|---|---|
<T> ObjectFactory<T> |
MapperFactory.lookupObjectFactory(Type<T> targetType)
Deprecated.
use
MapperFactory.lookupObjectFactory(Type, Type) instead |
<T,S> ObjectFactory<T> |
MapperFactory.lookupObjectFactory(Type<T> targetType,
Type<S> sourceType)
Return the object factory (if any) which has been registered for the
given type.
|
<T,S> ObjectFactory<T> |
MapperFactory.lookupObjectFactory(Type<T> targetType,
Type<S> sourceType,
MappingContext context)
Return the object factory (if any) which has been registered for the
given type.
|
| Modifier and Type | Method and Description |
|---|---|
<T> void |
MapperFactory.registerObjectFactory(ObjectFactory<T> objectFactory,
Class<T> targetClass)
Deprecated.
|
<T> void |
MapperFactory.registerObjectFactory(ObjectFactory<T> objectFactory,
Type<T> targetType)
Register the given ObjectFactory with the MapperFactory; it will be used
when constructing new instances of the specified targetType.
|
<T,S> void |
MapperFactory.registerObjectFactory(ObjectFactory<T> objectFactory,
Type<T> targetType,
Type<S> sourceType)
Register the given ObjectFactory with the MapperFactory; it will be used
when constructing new instances of the specified targetType when it is
being mapped from the specified source type.
|
| Modifier and Type | Class and Description |
|---|---|
class |
DefaultConstructorObjectFactory<T>
DefaultConstructorObjectFactory is used for types which should be instantiated
using their default constructor.
|
class |
GeneratedObjectFactory |
| Modifier and Type | Field and Description |
|---|---|
protected ConcurrentHashMap<Type<? extends Object>,ConcurrentHashMap<Type<? extends Object>,ObjectFactory<? extends Object>>> |
DefaultMapperFactory.objectFactoryRegistry |
| Modifier and Type | Method and Description |
|---|---|
protected <T,S> ObjectFactory<T> |
DefaultMapperFactory.lookupExistingObjectFactory(Type<T> destinationType,
Type<S> sourceType,
MappingContext context) |
<T> ObjectFactory<T> |
DefaultMapperFactory.lookupObjectFactory(Type<T> targetType) |
<T,S> ObjectFactory<T> |
DefaultMapperFactory.lookupObjectFactory(Type<T> targetType,
Type<S> sourceType) |
<T,S> ObjectFactory<T> |
DefaultMapperFactory.lookupObjectFactory(Type<T> destinationType,
Type<S> sourceType,
MappingContext context) |
| Modifier and Type | Method and Description |
|---|---|
<D> void |
DefaultMapperFactory.registerObjectFactory(ObjectFactory<D> objectFactory,
Type<D> destinationType) |
<D,S> void |
DefaultMapperFactory.registerObjectFactory(ObjectFactory<D> objectFactory,
Type<D> destinationType,
Type<S> sourceType) |
<T> void |
DefaultMapperFactory.registerObjectFactory(ObjectFactory<T> objectFactory,
Class<T> targetClass) |
| Modifier and Type | Field and Description |
|---|---|
protected ObjectFactory<Object> |
InstantiateAndUseCustomMapperStrategy.objectFactory
The custom ObjectFactory used by this strategy
|
| Modifier and Type | Method and Description |
|---|---|
ObjectFactory<Object> |
MappingStrategyRecorder.getResolvedObjectFactory() |
| Modifier and Type | Method and Description |
|---|---|
void |
MappingStrategyRecorder.setResolvedObjectFactory(ObjectFactory<?> resolvedObjectFactory)
Set the ObjectFactory to use for the strategy
|
| Constructor and Description |
|---|
InstantiateAndUseCustomMapperStrategy(Type<Object> sourceType,
Type<Object> destinationType,
Mapper<Object,Object> customMapper,
ObjectFactory<Object> objectFactory,
UnenhanceStrategy unenhancer)
Creates a new instance of InstantiateAndUseCustomMapperStrategy
|
Copyright © 2017 Glasnost. All Rights Reserved.