public class ModuleIdResolver<E extends Module,D extends ModuleDao<E>,S extends ModuleService<E,D>> extends PersistentObjectIdResolver<E,D,S>
Modules when deserializing only on the base of ID values. Based on a given ID, this
resolver will load the whole entity from the database. Extends the default implementation.logger, service| Constructor and Description |
|---|
ModuleIdResolver() |
| Modifier and Type | Method and Description |
|---|---|
void |
setService(S service)
Has to be implemented by subclasses to autowire and set the correct
service class.
|
bindItem, getService, newForDeserialization, resolveId@Autowired @Qualifier(value="moduleService") public void setService(S service)
PersistentObjectIdResolversetService in class PersistentObjectIdResolver<E extends Module,D extends ModuleDao<E>,S extends ModuleService<E,D>>service - the service to setCopyright © 2020 terrestris GmbH & Co. KG. All rights reserved.