\r
import java.io.IOException;\r
import java.io.UnsupportedEncodingException;\r
+import java.util.ArrayList;\r
+import java.util.List;\r
\r
import javax.annotation.PostConstruct;\r
import javax.enterprise.context.SessionScoped;\r
public String getServiceProxyUrl() {\r
return ((ServiceProxyClient)searchClient).getServiceProxyUrl();\r
}\r
+ \r
+ public List<String> getServiceProxyUrls() {\r
+ List<String> urls = new ArrayList<String>();\r
+ urls.add("");\r
+ urls.addAll(((ServiceProxyClient)searchClient).getServiceProxyUrls());\r
+ return urls;\r
+ }\r
\r
public String getInitDocPath () {\r
return searchClient.getConfiguration().get("INIT_DOC_PATH");\r
\r
@Override\r
public String postInit() throws UnsupportedEncodingException, IOException { \r
- String initDocPath = ((ServiceProxyClient)searchClient).getInitDocPaths()[0];\r
+ String initDocPath = ((ServiceProxyClient)searchClient).getInitDocPaths().get(0);\r
logger.info("Paths: " + ((ServiceProxyClient)searchClient).getInitDocPaths());\r
logger.info("Path: " + initDocPath);\r
pzresp.reset();\r