@Singleton @Multibinding public final class AnnotationProcessingTypeResolver extends Object implements info.magnolia.transformer.TypeResolver
TypeResolver
implementation capable of deducing the type from a string alias instead of fully-qualified class name.
In order to successfully conduct the resolution this resolver expects the "" property value
to contain the alias which is assigned to some class via annotation.
NOTE: For the time being this class is meant for the internal use only and is a subject to change any moment!
TypeAlias
Constructor and Description |
---|
AnnotationProcessingTypeResolver(info.magnolia.init.MagnoliaConfigurationProperties configurationProperties) |
Modifier and Type | Method and Description |
---|---|
Optional<Class<?>> |
resolveType(info.magnolia.jcr.node2bean.TypeDescriptor typeDescriptor,
Map<String,Object> properties) |
Copyright © 2003–2020 Magnolia International Ltd.. All rights reserved.