2 * Copyright (C) 2007 EDIT
3 * European Distributed Institute of Taxonomy
4 * http://www.e-taxonomy.eu
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.
9 package eu
.etaxonomy
.cdm
.api
.service
;
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
;
16 import eu
.etaxonomy
.cdm
.model
.common
.CdmBase
;
17 import eu
.etaxonomy
.cdm
.persistence
.dao
.common
.ICdmEntityDao
;
20 @Transactional(readOnly
= true)
21 public class ServiceImpl
22 extends ServiceBase
<CdmBase
, ICdmEntityDao
<CdmBase
>> {
24 @SuppressWarnings("unused")
25 private static final Logger logger
= LogManager
.getLogger();
28 //@Qualifier("mainDao")
29 protected ICdmEntityDao
<CdmBase
> mainDao
;
33 protected void setDao(ICdmEntityDao
<CdmBase
> dao
) {