Project

General

Profile

Download (1.01 KB) Statistics
| Branch: | Tag: | Revision:
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

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

    
12
import org.apache.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 extends ServiceBase<CdmBase, ICdmEntityDao<CdmBase>> implements IService<CdmBase> {
22
	@SuppressWarnings("unused")
23
	private static final Logger logger = Logger.getLogger(ServiceImpl.class);
24

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

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

    
35
}
(93-93/103)