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.
10 package eu
.etaxonomy
.cdm
.api
.service
;
12 import org
.apache
.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
extends ServiceBase
<CdmBase
, ICdmEntityDao
<CdmBase
>> implements IService
<CdmBase
> {
22 @SuppressWarnings("unused")
23 private static final Logger logger
= Logger
.getLogger(ServiceImpl
.class);
26 //@Qualifier("mainDao")
27 protected ICdmEntityDao
<CdmBase
> mainDao
;
31 protected void setDao(ICdmEntityDao
<CdmBase
> dao
) {