/**
* Class which uses CDM services to cache cdm entities
- *
- * FIXME: Currently only handles terms entities. It would be
+ *
+ * FIXME: Currently only handles terms entities. It would be
* interesting to have a generic method which finds the
* correct service to load / cache the entity.
- *
+ *
* @author cmathew
*
* @param <T>
@Autowired
ITermService termService;
-
+
@Override
protected T findByUuid(UUID uuid) {
return (T)termService.findWithoutFlush(uuid);
}
+ /* (non-Javadoc)
+ * @see eu.etaxonomy.cdm.api.cache.CdmCacher#setup()
+ */
+ @Override
+ protected void setup() {
+ // TODO Auto-generated method stub
+
+ }
+
}
\r
<import resource="classpath:/eu/etaxonomy/cdm/remoting_services_security.xml"/> \r
\r
- <bean id="cdmServiceCacher" class="eu.etaxonomy.cdm.api.cache.CdmServiceCacher"/>\r
+ <bean id="cdmTermCacher" class="eu.etaxonomy.cdm.api.cache.CdmTermCacher"/>\r
\r
\r
<!-- EditGeoService was moved to ext. Therefore it will not be found by the default component scan.