1 |
9cc4226b
|
Katja Luther
|
/**
|
2 |
|
|
* Copyright (C) 2007 EDIT
|
3 |
64923004
|
Andreas Müller
|
* European Distributed Institute of Taxonomy
|
4 |
9cc4226b
|
Katja Luther
|
* http://www.e-taxonomy.eu
|
5 |
64923004
|
Andreas Müller
|
*
|
6 |
9cc4226b
|
Katja Luther
|
* 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 |
|
|
package eu.etaxonomy.cdm.strategy.cache.name;
|
10 |
|
|
|
11 |
|
|
import java.util.UUID;
|
12 |
|
|
|
13 |
|
|
import org.apache.log4j.Logger;
|
14 |
|
|
|
15 |
|
|
import eu.etaxonomy.cdm.model.name.BacterialName;
|
16 |
|
|
|
17 |
|
|
/**
|
18 |
|
|
* The bacterial name default cache strategy.
|
19 |
64923004
|
Andreas Müller
|
*
|
20 |
9cc4226b
|
Katja Luther
|
* @author a.mueller
|
21 |
|
|
*
|
22 |
|
|
*/
|
23 |
64923004
|
Andreas Müller
|
public class BacterialNameDefaultCacheStrategy extends NonViralNameDefaultCacheStrategy<BacterialName> implements INonViralNameCacheStrategy<BacterialName> {
|
24 |
731fe9ff
|
Andreas Müller
|
private static final long serialVersionUID = 7369285557176649585L;
|
25 |
9cc4226b
|
Katja Luther
|
private static final Logger logger = Logger.getLogger(BacterialNameDefaultCacheStrategy.class);
|
26 |
|
|
final static UUID uuid = UUID.fromString("b97cf0af-2f97-487e-8d06-cbe924f3222a");
|
27 |
64923004
|
Andreas Müller
|
|
28 |
cc07bf61
|
n.hoffmann
|
static {
|
29 |
e7da738f
|
Andreas Müller
|
logger.info("BacterialNameDefaultCacheStrategy not yet really implemented. Its just a copy of BotanicalNameDefaultCacheStrategy right now !!");
|
30 |
64923004
|
Andreas Müller
|
}
|
31 |
|
|
|
32 |
9cc4226b
|
Katja Luther
|
@Override
|
33 |
|
|
public UUID getUuid(){
|
34 |
|
|
return uuid;
|
35 |
|
|
}
|
36 |
|
|
|
37 |
64923004
|
Andreas Müller
|
|
38 |
9cc4226b
|
Katja Luther
|
public static BacterialNameDefaultCacheStrategy NewInstance(){
|
39 |
|
|
return new BacterialNameDefaultCacheStrategy();
|
40 |
|
|
}
|
41 |
64923004
|
Andreas Müller
|
|
42 |
9cc4226b
|
Katja Luther
|
}
|