comparison servlet2/src/main/java/digilib/servlet/DigilibServletConfiguration.java @ 960:b2d97b842612

moved DocuImage implementations with non-standard toolkits (JAI, ImgeJ) into separate Maven modules. default build uses jai-imageio (now only one additional JAR in webapp!).
author robcast
date Wed, 25 Jan 2012 15:13:06 +0100
parents 0cea7e608080
children 4e368c85cce4
comparison
equal deleted inserted replaced
959:f197e7760154 960:b2d97b842612
67 // DocuDirCache instance 67 // DocuDirCache instance
68 newParameter("servlet.dir.cache", null, null, 's'); 68 newParameter("servlet.dir.cache", null, null, 's');
69 // DocuImage class instance 69 // DocuImage class instance
70 newParameter( 70 newParameter(
71 "servlet.docuimage.class", 71 "servlet.docuimage.class",
72 digilib.image.JAIDocuImage.class, 72 digilib.image.ImageLoaderDocuImage.class,
73 null, 73 null,
74 's'); 74 's');
75 // AuthOps instance for authentication 75 // AuthOps instance for authentication
76 newParameter("servlet.auth.op", null, null, 's'); 76 newParameter("servlet.auth.op", null, null, 's');
77 // Executor for image operations 77 // Executor for image operations
113 // sending image files as-is allowed 113 // sending image files as-is allowed
114 newParameter("sendfile-allowed", Boolean.TRUE, null, 'f'); 114 newParameter("sendfile-allowed", Boolean.TRUE, null, 'f');
115 // Type of DocuImage instance 115 // Type of DocuImage instance
116 newParameter( 116 newParameter(
117 "docuimage-class", 117 "docuimage-class",
118 "digilib.image.JAIDocuImage", 118 "digilib.image.ImageLoaderDocuImage",
119 null, 119 null,
120 'f'); 120 'f');
121 // part of URL used to indicate authorized access 121 // part of URL used to indicate authorized access
122 newParameter("auth-url-path", "authenticated/", null, 'f'); 122 newParameter("auth-url-path", "authenticated/", null, 'f');
123 // degree of subsampling on image load 123 // degree of subsampling on image load