ref #10322 remove empty sources from singleSourced entities
[cdmlib.git] / cdmlib-services / src / main / java / eu / etaxonomy / cdm / api / service / ServiceImpl.java
1 /**
2 * Copyright (C) 2007 EDIT
3 * European Distributed Institute of Taxonomy
4 * http://www.e-taxonomy.eu
5 *
6 * The contents of this file are subject to the Mozilla Public License Version 1.1
7 * See LICENSE.TXT at the top of this package for the full license terms.
8 */
9 package eu.etaxonomy.cdm.api.service;
10
11 import org.apache.logging.log4j.LogManager;
12 import org.apache.logging.log4j.Logger;
13 import org.springframework.stereotype.Service;
14 import org.springframework.transaction.annotation.Transactional;
15
16 import eu.etaxonomy.cdm.model.common.CdmBase;
17 import eu.etaxonomy.cdm.persistence.dao.common.ICdmEntityDao;
18
19 @Service
20 @Transactional(readOnly = true)
21 public class ServiceImpl
22 extends ServiceBase<CdmBase, ICdmEntityDao<CdmBase>> {
23
24 @SuppressWarnings("unused")
25 private static final Logger logger = LogManager.getLogger();
26
27 //@Autowired
28 //@Qualifier("mainDao")
29 protected ICdmEntityDao<CdmBase> mainDao;
30
31 //@Autowired
32 @Override
33 protected void setDao(ICdmEntityDao<CdmBase> dao) {
34 this.dao = dao;
35 }
36 }