3 * Copyright (C) 2007 EDIT
4 * European Distributed Institute of Taxonomy
5 * http://www.e-taxonomy.eu
7 * The contents of this file are subject to the Mozilla Public License Version 1.1
8 * See LICENSE.TXT at the top of this package for the full license terms.
11 package eu
.etaxonomy
.cdm
.api
.service
;
13 import org
.apache
.log4j
.Logger
;
14 import org
.springframework
.stereotype
.Service
;
15 import org
.springframework
.transaction
.annotation
.Propagation
;
16 import org
.springframework
.transaction
.annotation
.Transactional
;
18 import eu
.etaxonomy
.cdm
.model
.common
.CdmBase
;
19 import eu
.etaxonomy
.cdm
.persistence
.dao
.common
.ICdmEntityDao
;
22 @Transactional(readOnly
= true, propagation
= Propagation
.SUPPORTS
)
23 public class ServiceImpl
extends ServiceBase
<CdmBase
, ICdmEntityDao
<CdmBase
>> implements IService
<CdmBase
> {
24 @SuppressWarnings("unused")
25 private static final Logger logger
= Logger
.getLogger(ServiceImpl
.class);
28 //@Qualifier("mainDao")
29 protected ICdmEntityDao
<CdmBase
> mainDao
;
32 protected void setDao(ICdmEntityDao
<CdmBase
> dao
) {