\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