Revision 7e5f47cb
Added by Andreas Kohlbecker about 7 years ago
eu.etaxonomy.taxeditor.cdmlib/src/main/java/eu/etaxonomy/cdm/api/cache/CdmServiceCacher.java | ||
---|---|---|
2 | 2 |
|
3 | 3 |
import java.util.UUID; |
4 | 4 |
|
5 |
import net.sf.ehcache.config.CacheConfiguration; |
|
6 |
import net.sf.ehcache.config.SizeOfPolicyConfiguration; |
|
7 |
|
|
8 | 5 |
import org.springframework.stereotype.Component; |
9 | 6 |
|
10 | 7 |
import eu.etaxonomy.cdm.api.application.CdmApplicationState; |
... | ... | |
19 | 16 |
import eu.etaxonomy.taxeditor.session.ICdmEntitySession; |
20 | 17 |
import eu.etaxonomy.taxeditor.session.ICdmEntitySessionManager; |
21 | 18 |
import eu.etaxonomy.taxeditor.session.ICdmEntitySessionManagerObserver; |
19 |
import net.sf.ehcache.config.CacheConfiguration; |
|
20 |
import net.sf.ehcache.config.SizeOfPolicyConfiguration; |
|
22 | 21 |
|
23 | 22 |
/** |
24 | 23 |
* Class which uses CDM services to cache cdm entities |
... | ... | |
32 | 31 |
* @param <T> |
33 | 32 |
*/ |
34 | 33 |
@Component |
35 |
public class CdmServiceCacher extends CdmCacher implements ICdmEntitySessionManagerObserver {
|
|
34 |
public class CdmServiceCacher extends CdmCacher implements ICdmEntitySessionManagerObserver { |
|
36 | 35 |
|
37 | 36 |
|
38 | 37 |
|
Also available in: Unified diff
ref #2939 adapting taxeditor spring configuration to new ehCacheManager configuration - WARNING: store location still missing!