projects
/
mkjsf-moved-to-github.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fixing web.xml based config example
[mkjsf-moved-to-github.git]
/
src
/
main
/
java
/
com
/
indexdata
/
mkjsf
/
config
/
package-info.java
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
(file)
--- 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
@@
* </pre>
\r
*
\r
* <p>For the web.xml configuration scheme (choosing WebXmlConfigReader in beans.xml)
\r
* </pre>
\r
*
\r
* <p>For the web.xml configuration scheme (choosing WebXmlConfigReader in beans.xml)
\r
- * to pre-define the URL of the Pazpar2 to use, the configuration could be:</p>
\r
+ * to pre-define the URL of the Pazpar2 to use and choose Pazpar2 as the selected
\r
+ * service type, the configuration could be:</p>
\r
*
\r
* <pre>
\r
* <context-param>
\r
* <param-name>PAZPAR2_URL</param-name>
\r
* <param-value>http://localhost:8004/</param-value>
\r
* </context-param>
\r
*
\r
* <pre>
\r
* <context-param>
\r
* <param-name>PAZPAR2_URL</param-name>
\r
* <param-value>http://localhost:8004/</param-value>
\r
* </context-param>
\r
+ * <context-param>
\r
+ * <description>Service type. Possible values: SP, PZ2, TBD</description>
\r
+ * <param-name>TYPE</param-name>
\r
+ * <param-value>PZ2</param-value>
\r
+ * </context-param>
\r
* </pre>
\r
*
\r
* <p>For the Mk2ConfigReader scheme to work, the web.xml must then contain pointers to the configuration directory
\r
* </pre>
\r
*
\r
* <p>For the Mk2ConfigReader scheme to work, the web.xml must then contain pointers to the configuration directory
\r
- * and properties file.
\r
+ * and properties file. The specific configuration itself would be in those files then.
\r
* In this example the configuration directory is in the web application itself (war://testconfig). A more regular
\r
* example would put it in a separate directory to not have it overwritten by each deployment of the war.</p>
\r
* <pre>
\r
* In this example the configuration directory is in the web application itself (war://testconfig). A more regular
\r
* example would put it in a separate directory to not have it overwritten by each deployment of the war.</p>
\r
* <pre>
\r