Renames project from pz2utils4jsf to mkjsf
[mkjsf-moved-to-github.git] / src / main / java / com / indexdata / pz2utils4jsf / pazpar2 / SearchClient.java
index c7d0cf9..54b1648 100644 (file)
@@ -13,7 +13,14 @@ public interface SearchClient extends Configurable, Serializable {
   \r
   public void setSearchCommand(Pazpar2Command command);\r
   public CommandResponse executeCommand(Pazpar2Command command, ByteArrayOutputStream baos) throws Pazpar2ErrorException, IOException;\r
+  \r
+  // Use cloneMe() method if injecting the client with CDI.\r
+  // The client is used for asynchronously sending off requests\r
+  // to the server AND propagation of context to threads is currently \r
+  // not supported. Trying to do so throws a WELD-001303 error. \r
+  // If propagation to threads gets supported, the cloning can go.\r
   public SearchClient cloneMe();\r
+  \r
   public boolean isAuthenticatingClient();  \r
   public Configuration getConfiguration();\r
 }\r