X-Git-Url: http://git.indexdata.com/?p=mkjsf-moved-to-github.git;a=blobdiff_plain;f=src%2Fmain%2Fjava%2Fcom%2Findexdata%2Fmkjsf%2Fconfig%2Fpackage-info.java;fp=src%2Fmain%2Fjava%2Fcom%2Findexdata%2Fmkjsf%2Fconfig%2Fpackage-info.java;h=aec5200c399ea76a05b1ad205df535cc75cec6a7;hp=6716e664486285e5acd165eaa55c5c6a08e93983;hb=0dfeb7cc94c619e427094c69d0cdeb14028212cb;hpb=e935a98095cff863b692efd25946e7e3248f66d1 diff --git a/src/main/java/com/indexdata/mkjsf/config/package-info.java b/src/main/java/com/indexdata/mkjsf/config/package-info.java index 6716e66..aec5200 100644 --- a/src/main/java/com/indexdata/mkjsf/config/package-info.java +++ b/src/main/java/com/indexdata/mkjsf/config/package-info.java @@ -31,17 +31,23 @@ * * *

For the web.xml configuration scheme (choosing WebXmlConfigReader in beans.xml) - * to pre-define the URL of the Pazpar2 to use, the configuration could be:

+ * to pre-define the URL of the Pazpar2 to use and choose Pazpar2 as the selected + * service type, the configuration could be:

* *
  *  <context-param>
  *   <param-name>PAZPAR2_URL</param-name>
  *   <param-value>http://localhost:8004/</param-value>
  *  </context-param>
+ *  <context-param>
+ *   <description>Service type. Possible values: SP, PZ2, TBD</description>
+ *   <param-name>TYPE</param-name>
+ *   <param-value>PZ2</param-value>  
+ *  </context-param>
  * 
* *

For the Mk2ConfigReader scheme to work, the web.xml must then contain pointers to the configuration directory - * and properties file. + * and properties file. The specific configuration itself would be in those files then. * In this example the configuration directory is in the web application itself (war://testconfig). A more regular * example would put it in a separate directory to not have it overwritten by each deployment of the war.

*