public interface TypeMappingContext
| Modifier and Type | Method and Description |
|---|---|
List<Class<?>> |
getImplementations(Class<?> repositoryType)
Given a repository type returns all concrete classes that could be used for that repository's mappings
|
List<TypeMapping<?>> |
getMappings(Class<?> repositoryType)
Given a repository type, will look up all possible mappings and creates
mapping objects
from those |
void |
register(Class<?> repositoryType,
Class<?> implementation)
Registers a mapping that should be honored for all repositories that are a subtype of the
provided repository type.
|
void register(Class<?> repositoryType, Class<?> implementation)
Object
all repositories will inherit this mapping.repositoryType - the repository (super) typeimplementation - the implementation typeList<Class<?>> getImplementations(Class<?> repositoryType)
repositoryType - the repository typeList<TypeMapping<?>> getMappings(Class<?> repositoryType)
mapping objects
from thoserepositoryType - the repository typeCopyright © 2014–2016. All rights reserved.