public abstract class AbstractWebController<E extends PersistentObject,D extends GenericHibernateDao<E,Integer>,S extends AbstractCrudService<E,D>> extends Object
| Modifier and Type | Field and Description |
|---|---|
protected static org.apache.logging.log4j.Logger |
logger
The LOGGER instance (that will be available in all subclasses)
|
protected S |
service
The
AbstractCrudService for this controller. |
| Modifier | Constructor and Description |
|---|---|
protected |
AbstractWebController(Class<E> entityClass)
Constructor that sets the concrete entity class for the controller.
|
| Modifier and Type | Method and Description |
|---|---|
Class<E> |
getEntityClass() |
S |
getService() |
abstract void |
setService(S service)
Subclasses must implement this class and annotate it with
Autowired and Qualifier! |
protected static final org.apache.logging.log4j.Logger logger
protected S extends AbstractCrudService<E,D> service
AbstractCrudService for this controller.Copyright © 2020 terrestris GmbH & Co. KG. All rights reserved.