Project

General

Profile

Download (1.02 KB) Statistics
| Branch: | Tag: | Revision:
1
// $Id$
2
/**
3
* Copyright (C) 2007 EDIT
4
* European Distributed Institute of Taxonomy
5
* http://www.e-taxonomy.eu
6
*
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.
9
*/
10

    
11
package eu.etaxonomy.cdm.api.service;
12

    
13
import org.apache.log4j.Logger;
14
import org.springframework.stereotype.Service;
15
import org.springframework.transaction.annotation.Transactional;
16

    
17
import eu.etaxonomy.cdm.model.common.CdmBase;
18
import eu.etaxonomy.cdm.persistence.dao.common.ICdmEntityDao;
19

    
20
@Service
21
@Transactional(readOnly = true)
22
public class ServiceImpl extends ServiceBase<CdmBase, ICdmEntityDao<CdmBase>> implements IService<CdmBase> {
23
	@SuppressWarnings("unused")
24
	private static final Logger logger = Logger.getLogger(ServiceImpl.class);
25

    
26
	//@Autowired
27
	//@Qualifier("mainDao")
28
	protected ICdmEntityDao<CdmBase> mainDao;
29

    
30
	//@Autowired
31
	@Override
32
    protected void setDao(ICdmEntityDao<CdmBase> dao) {
33
		this.dao = dao;
34
	}
35

    
36
}
(86-86/97)