explaining the deprecation of this class
[cdmlib.git] / cdmlib-remote / src / main / java / eu / etaxonomy / cdm / remote / controller / interceptor / DatasourceContextHandlerInterceptor.java
index 0a3a0e22817a2ba5df7996701fcf6274a858e906..39c281a2ac126f3a6cda9644a98dc0fdbf2c6840 100644 (file)
@@ -1,3 +1,4 @@
+// $Id$\r
 /**\r
 * Copyright (C) 2007 EDIT\r
 * European Distributed Institute of Taxonomy \r
@@ -22,8 +23,16 @@ import eu.etaxonomy.cdm.database.NamedContextHolder;
 \r
 /**\r
  * @author a.kohlbecker\r
- *\r
+ * @deprecated<b>NOTICE:</b> \r
+ * <em>This class is related to the switchable database infrastructure which allows to serve \r
+ * multiple databases with only a single instance of the cdm-remote-webapp. \r
+ * This concept however is deprecated due to several problems of which the most severe is the term loading issue.\r
+ * This class should however not deleted since we once might wish to switch back to this concept when we are \r
+ * able to deal with the implicated issues. \r
+ * \r
+ * See http://dev.e-taxonomy.eu/trac/wiki/CdmServerSwitchableDataSources for more information.</em>\r
  */\r
+@Deprecated\r
 public class DatasourceContextHandlerInterceptor extends HandlerInterceptorAdapter {\r
        private static final Logger logger = Logger.getLogger(DatasourceContextHandlerInterceptor.class);\r
        \r