clerezza-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From r...@apache.org
Subject svn commit: r1464148 [18/34] - in /clerezza/site/production: ./ architecture/ architecture/images/ bundle-doc/ bundle-doc/org.apache.clerezza.bundledevtool/ bundle-doc/org.apache.clerezza.bundledevtool/intro-content-el/ bundle-doc/org.apache.clerezza.p...
Date Wed, 03 Apr 2013 18:37:57 GMT
Added: clerezza/site/production/bundle-doc/org.apache.clerezza.utils.imageprocessing/imagereaderservice-content-el/0.xhtml
URL: http://svn.apache.org/viewvc/clerezza/site/production/bundle-doc/org.apache.clerezza.utils.imageprocessing/imagereaderservice-content-el/0.xhtml?rev=1464148&view=auto
==============================================================================
--- clerezza/site/production/bundle-doc/org.apache.clerezza.utils.imageprocessing/imagereaderservice-content-el/0.xhtml (added)
+++ clerezza/site/production/bundle-doc/org.apache.clerezza.utils.imageprocessing/imagereaderservice-content-el/0.xhtml Wed Apr  3 18:37:39 2013
@@ -0,0 +1,117 @@
+<html xmlns="http://www.w3.org/1999/xhtml">
+					<head>
+						<link type="text/css" href="/clerezza/style/style.css" rel="stylesheet"/>
+						<title>Purpose
+</title>
+					</head>
+					<body>
+						<div class="zz-header">
+
+							<div class="bar"></div>
+							<div class="logo">
+								<a href="http://incubator.apache.org/clerezza/" style=""><img src="/clerezza/images/logo.png" alt="logo"/></a>
+							</div>
+						</div>
+						<div class="column nav">
+							<ul>
+								<li class="top-nav-entry"><div class="title">Documentation</div>
+
+									<ul class="nav-entries">
+										<li><a href="/clerezza/getting-started/">Getting Started</a></li>
+										<li><a href="/clerezza/architecture/">The Apache Clerezza Stack</a></li>
+										<li><a href="http://incubator.apache.org/clerezza/mvn-site" target="_blank">API docs</a></li>
+										<li><a href="/clerezza/faq/">FAQ</a></li>
+									</ul>
+								</li>
+
+								<li class="top-nav-entry"><div class="title">Project Infos</div>
+									<ul class="nav-entries">
+										<li><a href="/clerezza/downloads/">Downloads</a></li>
+										<li><a href="/clerezza/contributing/">Contributing</a></li>
+										<li><a href="http://www.apache.org/licenses/" target="_blank">License</a></li>
+										<li><a href="/clerezza/mailinglists/">Mailing lists</a></li>
+										<li><a href="http://issues.apache.org/jira/browse/CLEREZZA" target="_blank">Issue Tracker</a></li>
+
+										<li><a href="http://svn.apache.org/viewvc/incubator/clerezza/trunk/" target="_blank">Source Repository</a></li>
+									</ul>
+								</li>
+								<li class="top-nav-entry"><div class="title">Sponsorship</div>
+									<ul class="nav-entries">
+										<li><a href="/clerezza/thanks/">Thanks</a></li>
+										<li><a href="http://www.apache.org/foundation/sponsorship.html" target="_blank">Become a Sponsor</a></li>
+										<li><a href="http://www.apache.org/foundation/buy_stuff.html" target="_blank">Buy Stuff</a></li>
+									</ul>
+								</li>
+							</ul>
+						</div>
+
+						<div class="zz-content">
+							
+
+	<div>Purpose
+</div>
+
+	<div><p xmlns="http://www.w3.org/1999/xhtml">
+By default the Clerezza Platform uses javax.imageio to read image data. However there are at least two scenarios when users may want to change that. 
+</p>
+<ol xmlns="http://www.w3.org/1999/xhtml">
+<li>When reading images that ImageIO does not support (different image formats or image formats that may be considered corrupt by ImageIO)</li>
+<li>When wanting to improve image processing performance.</li>
+</ol>
+<p xmlns="http://www.w3.org/1999/xhtml">
+A major difficulty in resolving these problems is that normally there is no way other than changing source code and recompiling to make existing services use a different method of reading images. With the introduction of the ImageReaderService all Clerezza Platform components have been changed to use the ImageReaderService when obtaining BufferedImages. This service dynamically looks up services that implement the ImageReader interface in the OSGi SCR (Service Component Runtime) and provides the service that is registered with the highest service.ranking property. By default the Clerezza Platform has only one ImageReader service registered that has a service ranking of 0 and reads images using javax.imageio. The ImageReaderService implement the ImageReader interface as well but delegates all calls to the highest ranking registered ImageReader.
+</p>
+</div>
+
+
+						</div>
+						<div class="footer">
+							<div class="logos"><img src="/clerezza/images/feather.png"/><img src="/clerezza/images/sw-vert-w3c.png"/><img src="/clerezza/images/footer-logo.png"/></div>
+
+							<div class="divider"></div>
+							<div class="dark">
+								<div class="sitemap">
+									<div class="sitemap-title">Sitemap</div>
+									<div class="sitemap-content">
+										<div class="sitemap-column">
+											<div class="title">Documentation</div>
+											<ul>
+
+												<li><a href="/clerezza/getting-started/">Getting Started</a></li>
+												<li><a href="/clerezza/architecture/">The Apache Clerezza Stack</a></li>
+												<li><a href="http://incubator.apache.org/clerezza/mvn-site" target="_blank">API docs</a></li>
+												<li><a href="/clerezza/faq/">FAQ</a></li>
+											</ul>
+
+										</div>
+										<div class="sitemap-column">
+
+											<div class="title">Project Infos</div>
+											<ul>
+												<li><a href="/clerezza/downloads/">Downloads</a></li>
+												<li><a href="/clerezza/contributing/">Contributing</a></li>
+												<li><a href="http://www.apache.org/licenses/" target="_blank">License</a></li>
+												<li><a href="mailinglists/">Mailing lists</a></li>
+												<li><a href="http://issues.apache.org/jira/browse/CLEREZZA" target="_blank">Issue Tracker</a></li>
+
+												<li><a href="http://svn.apache.org/viewvc/incubator/clerezza/trunk/" target="_blank">Source Repository</a></li>
+											</ul>
+										</div>
+										<div class="sitemap-column">
+											<div class="title">Sponsorship</div>
+											<ul>
+												<li><a href="/clerezza/thanks/">Thanks</a></li>
+												<li><a href="http://www.apache.org/foundation/sponsorship.html" target="_blank">Become a Sponsor</a></li>
+												<li><a href="http://www.apache.org/foundation/buy_stuff.html" target="_blank">Buy Stuff</a></li>
+											</ul>
+										</div>
+									</div>
+
+								</div>
+								<div class="copyright">Apache Clerezza, Clerezza, Apache, the Apache feather logo, and the Apache Clerezza project logo are trademarks of The Apache Software Foundation. <br></br>© 2011 The Apache Software Foundation.</div>
+							</div>
+						</div>
+
+
+					</body>
+				</html>
\ No newline at end of file

Added: clerezza/site/production/bundle-doc/org.apache.clerezza.utils.imageprocessing/imagereaderservice-content-el/2-content.html
URL: http://svn.apache.org/viewvc/clerezza/site/production/bundle-doc/org.apache.clerezza.utils.imageprocessing/imagereaderservice-content-el/2-content.html?rev=1464148&view=auto
==============================================================================
--- clerezza/site/production/bundle-doc/org.apache.clerezza.utils.imageprocessing/imagereaderservice-content-el/2-content.html (added)
+++ clerezza/site/production/bundle-doc/org.apache.clerezza.utils.imageprocessing/imagereaderservice-content-el/2-content.html Wed Apr  3 18:37:39 2013
@@ -0,0 +1,24 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xml:lang="en" xmlns="http://www.w3.org/1999/xhtml" lang="en">
+	<head>
+		<link type="text/css" href="/clerezza/style/style.css" rel="stylesheet" />
+		<meta content="noindex, nofollow" name="robots"/>
+		<title>Untitled Content</title>
+	</head>
+	<body>
+			<p xmlns="http://www.w3.org/1999/xhtml">
+You can bind the ImageReaderService in an OSGi component by referencing it:
+</p>
+
+<div xmlns="http://www.w3.org/1999/xhtml" class="tx-blockcode"><pre>
+@Reference
+private ImageReaderService imageReaderService;
+</pre></div>
+
+<p xmlns="http://www.w3.org/1999/xhtml">
+Then you can either call the getImageReader() method to obtain the highest ranking ImageReader registered or use one of the getBufferedImage methods that will delegate to the highest ranking ImageReader.
+</p>
+
+
+	</body>
+</html>

Added: clerezza/site/production/bundle-doc/org.apache.clerezza.utils.imageprocessing/imagereaderservice-content-el/2-content.rdf
URL: http://svn.apache.org/viewvc/clerezza/site/production/bundle-doc/org.apache.clerezza.utils.imageprocessing/imagereaderservice-content-el/2-content.rdf?rev=1464148&view=auto
==============================================================================
--- clerezza/site/production/bundle-doc/org.apache.clerezza.utils.imageprocessing/imagereaderservice-content-el/2-content.rdf (added)
+++ clerezza/site/production/bundle-doc/org.apache.clerezza.utils.imageprocessing/imagereaderservice-content-el/2-content.rdf Wed Apr  3 18:37:39 2013
@@ -0,0 +1,28 @@
+<rdf:RDF
+    xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
+    xmlns:j.0="http://discobits.org/ontology#" > 
+  <rdf:Description rdf:about="http://incubator.apache.org/clerezza/bundle-doc/org.apache.clerezza.utils.imageprocessing/imagereaderservice-content-el/2">
+    <j.0:contains rdf:nodeID="A0"/>
+  </rdf:Description>
+  <rdf:Description rdf:nodeID="A0">
+    <j.0:holds rdf:resource="http://incubator.apache.org/clerezza/bundle-doc/org.apache.clerezza.utils.imageprocessing/imagereaderservice-content-el/2-content"/>
+    <rdf:type rdf:resource="http://discobits.org/ontology#Entry"/>
+    <j.0:pos>1</j.0:pos>
+  </rdf:Description>
+  <rdf:Description rdf:about="http://incubator.apache.org/clerezza/bundle-doc/org.apache.clerezza.utils.imageprocessing/imagereaderservice-content-el/2-content">
+    <j.0:infoBit rdf:parseType="Literal"><p xmlns="http://www.w3.org/1999/xhtml">
+You can bind the ImageReaderService in an OSGi component by referencing it:
+</p>
+
+<div xmlns="http://www.w3.org/1999/xhtml" class="tx-blockcode"><pre>
+@Reference
+private ImageReaderService imageReaderService;
+</pre></div>
+
+<p xmlns="http://www.w3.org/1999/xhtml">
+Then you can either call the getImageReader() method to obtain the highest ranking ImageReader registered or use one of the getBufferedImage methods that will delegate to the highest ranking ImageReader.
+</p>
+</j.0:infoBit>
+    <rdf:type rdf:resource="http://discobits.org/ontology#XHTMLInfoDiscoBit"/>
+  </rdf:Description>
+</rdf:RDF>

Added: clerezza/site/production/bundle-doc/org.apache.clerezza.utils.imageprocessing/imagereaderservice-content-el/2-content.xhtml
URL: http://svn.apache.org/viewvc/clerezza/site/production/bundle-doc/org.apache.clerezza.utils.imageprocessing/imagereaderservice-content-el/2-content.xhtml?rev=1464148&view=auto
==============================================================================
--- clerezza/site/production/bundle-doc/org.apache.clerezza.utils.imageprocessing/imagereaderservice-content-el/2-content.xhtml (added)
+++ clerezza/site/production/bundle-doc/org.apache.clerezza.utils.imageprocessing/imagereaderservice-content-el/2-content.xhtml Wed Apr  3 18:37:39 2013
@@ -0,0 +1,24 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xml:lang="en" xmlns="http://www.w3.org/1999/xhtml" lang="en">
+	<head>
+		<link type="text/css" href="/clerezza/style/style.css" rel="stylesheet" />
+		<meta content="noindex, nofollow" name="robots"/>
+		<title>Untitled Content</title>
+	</head>
+	<body>
+			<p xmlns="http://www.w3.org/1999/xhtml">
+You can bind the ImageReaderService in an OSGi component by referencing it:
+</p>
+
+<div xmlns="http://www.w3.org/1999/xhtml" class="tx-blockcode"><pre>
+@Reference
+private ImageReaderService imageReaderService;
+</pre></div>
+
+<p xmlns="http://www.w3.org/1999/xhtml">
+Then you can either call the getImageReader() method to obtain the highest ranking ImageReader registered or use one of the getBufferedImage methods that will delegate to the highest ranking ImageReader.
+</p>
+
+
+	</body>
+</html>

Added: clerezza/site/production/bundle-doc/org.apache.clerezza.utils.imageprocessing/imagereaderservice-content-el/2-title.html
URL: http://svn.apache.org/viewvc/clerezza/site/production/bundle-doc/org.apache.clerezza.utils.imageprocessing/imagereaderservice-content-el/2-title.html?rev=1464148&view=auto
==============================================================================
--- clerezza/site/production/bundle-doc/org.apache.clerezza.utils.imageprocessing/imagereaderservice-content-el/2-title.html (added)
+++ clerezza/site/production/bundle-doc/org.apache.clerezza.utils.imageprocessing/imagereaderservice-content-el/2-title.html Wed Apr  3 18:37:39 2013
@@ -0,0 +1,12 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xml:lang="en" xmlns="http://www.w3.org/1999/xhtml" lang="en">
+	<head>
+		<link type="text/css" href="/clerezza/style/style.css" rel="stylesheet" />
+		<meta content="noindex, nofollow" name="robots"/>
+		<title>Untitled Content</title>
+	</head>
+	<body>
+			How to use the ImageReaderService
+
+	</body>
+</html>

Added: clerezza/site/production/bundle-doc/org.apache.clerezza.utils.imageprocessing/imagereaderservice-content-el/2-title.rdf
URL: http://svn.apache.org/viewvc/clerezza/site/production/bundle-doc/org.apache.clerezza.utils.imageprocessing/imagereaderservice-content-el/2-title.rdf?rev=1464148&view=auto
==============================================================================
--- clerezza/site/production/bundle-doc/org.apache.clerezza.utils.imageprocessing/imagereaderservice-content-el/2-title.rdf (added)
+++ clerezza/site/production/bundle-doc/org.apache.clerezza.utils.imageprocessing/imagereaderservice-content-el/2-title.rdf Wed Apr  3 18:37:39 2013
@@ -0,0 +1,16 @@
+<rdf:RDF
+    xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
+    xmlns:j.0="http://discobits.org/ontology#" > 
+  <rdf:Description rdf:about="http://incubator.apache.org/clerezza/bundle-doc/org.apache.clerezza.utils.imageprocessing/imagereaderservice-content-el/2">
+    <j.0:contains rdf:nodeID="A0"/>
+  </rdf:Description>
+  <rdf:Description rdf:nodeID="A0">
+    <j.0:holds rdf:resource="http://incubator.apache.org/clerezza/bundle-doc/org.apache.clerezza.utils.imageprocessing/imagereaderservice-content-el/2-title"/>
+    <j.0:pos>0</j.0:pos>
+    <rdf:type rdf:resource="http://discobits.org/ontology#Entry"/>
+  </rdf:Description>
+  <rdf:Description rdf:about="http://incubator.apache.org/clerezza/bundle-doc/org.apache.clerezza.utils.imageprocessing/imagereaderservice-content-el/2-title">
+    <j.0:infoBit rdf:parseType="Literal">How to use the ImageReaderService</j.0:infoBit>
+    <rdf:type rdf:resource="http://discobits.org/ontology#XHTMLInfoDiscoBit"/>
+  </rdf:Description>
+</rdf:RDF>

Added: clerezza/site/production/bundle-doc/org.apache.clerezza.utils.imageprocessing/imagereaderservice-content-el/2-title.xhtml
URL: http://svn.apache.org/viewvc/clerezza/site/production/bundle-doc/org.apache.clerezza.utils.imageprocessing/imagereaderservice-content-el/2-title.xhtml?rev=1464148&view=auto
==============================================================================
--- clerezza/site/production/bundle-doc/org.apache.clerezza.utils.imageprocessing/imagereaderservice-content-el/2-title.xhtml (added)
+++ clerezza/site/production/bundle-doc/org.apache.clerezza.utils.imageprocessing/imagereaderservice-content-el/2-title.xhtml Wed Apr  3 18:37:39 2013
@@ -0,0 +1,12 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xml:lang="en" xmlns="http://www.w3.org/1999/xhtml" lang="en">
+	<head>
+		<link type="text/css" href="/clerezza/style/style.css" rel="stylesheet" />
+		<meta content="noindex, nofollow" name="robots"/>
+		<title>Untitled Content</title>
+	</head>
+	<body>
+			How to use the ImageReaderService
+
+	</body>
+</html>

Added: clerezza/site/production/bundle-doc/org.apache.clerezza.utils.imageprocessing/imagereaderservice-content-el/2.html
URL: http://svn.apache.org/viewvc/clerezza/site/production/bundle-doc/org.apache.clerezza.utils.imageprocessing/imagereaderservice-content-el/2.html?rev=1464148&view=auto
==============================================================================
--- clerezza/site/production/bundle-doc/org.apache.clerezza.utils.imageprocessing/imagereaderservice-content-el/2.html (added)
+++ clerezza/site/production/bundle-doc/org.apache.clerezza.utils.imageprocessing/imagereaderservice-content-el/2.html Wed Apr  3 18:37:39 2013
@@ -0,0 +1,116 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml">
+					<head>
+						<link type="text/css" href="/clerezza/style/style.css" rel="stylesheet"/>
+						<title>How to use the ImageReaderService
+</title>
+					</head>
+					<body>
+						<div class="zz-header">
+
+							<div class="bar"></div>
+							<div class="logo">
+								<a href="http://incubator.apache.org/clerezza/" style=""><img src="/clerezza/images/logo.png" alt="logo"/></a>
+							</div>
+						</div>
+						<div class="column nav">
+							<ul>
+								<li class="top-nav-entry"><div class="title">Documentation</div>
+
+									<ul class="nav-entries">
+										<li><a href="/clerezza/getting-started/">Getting Started</a></li>
+										<li><a href="/clerezza/architecture/">The Apache Clerezza Stack</a></li>
+										<li><a href="http://incubator.apache.org/clerezza/mvn-site" target="_blank">API docs</a></li>
+										<li><a href="/clerezza/faq/">FAQ</a></li>
+									</ul>
+								</li>
+
+								<li class="top-nav-entry"><div class="title">Project Infos</div>
+									<ul class="nav-entries">
+										<li><a href="/clerezza/downloads/">Downloads</a></li>
+										<li><a href="/clerezza/contributing/">Contributing</a></li>
+										<li><a href="http://www.apache.org/licenses/" target="_blank">License</a></li>
+										<li><a href="/clerezza/mailinglists/">Mailing lists</a></li>
+										<li><a href="http://issues.apache.org/jira/browse/CLEREZZA" target="_blank">Issue Tracker</a></li>
+
+										<li><a href="http://svn.apache.org/viewvc/incubator/clerezza/trunk/" target="_blank">Source Repository</a></li>
+									</ul>
+								</li>
+								<li class="top-nav-entry"><div class="title">Sponsorship</div>
+									<ul class="nav-entries">
+										<li><a href="/clerezza/thanks/">Thanks</a></li>
+										<li><a href="http://www.apache.org/foundation/sponsorship.html" target="_blank">Become a Sponsor</a></li>
+										<li><a href="http://www.apache.org/foundation/buy_stuff.html" target="_blank">Buy Stuff</a></li>
+									</ul>
+								</li>
+							</ul>
+						</div>
+
+						<div class="zz-content">
+							<h1>How to use the ImageReaderService
+</h1>
+<div class="tx-content"><p xmlns="http://www.w3.org/1999/xhtml">
+You can bind the ImageReaderService in an OSGi component by referencing it:
+</p>
+
+<div class="tx-blockcode" xmlns="http://www.w3.org/1999/xhtml"><pre>
+@Reference
+private ImageReaderService imageReaderService;
+</pre></div>
+
+<p xmlns="http://www.w3.org/1999/xhtml">
+Then you can either call the getImageReader() method to obtain the highest ranking ImageReader registered or use one of the getBufferedImage methods that will delegate to the highest ranking ImageReader.
+</p>
+
+</div>
+
+						</div>
+						<div class="footer">
+							<div class="logos"><img src="/clerezza/images/feather.png"/><img src="/clerezza/images/sw-vert-w3c.png"/><img src="/clerezza/images/footer-logo.png"/></div>
+
+							<div class="divider"></div>
+							<div class="dark">
+								<div class="sitemap">
+									<div class="sitemap-title">Sitemap</div>
+									<div class="sitemap-content">
+										<div class="sitemap-column">
+											<div class="title">Documentation</div>
+											<ul>
+
+												<li><a href="/clerezza/getting-started/">Getting Started</a></li>
+												<li><a href="/clerezza/architecture/">The Apache Clerezza Stack</a></li>
+												<li><a href="http://incubator.apache.org/clerezza/mvn-site" target="_blank">API docs</a></li>
+												<li><a href="/clerezza/faq/">FAQ</a></li>
+											</ul>
+
+										</div>
+										<div class="sitemap-column">
+
+											<div class="title">Project Infos</div>
+											<ul>
+												<li><a href="/clerezza/downloads/">Downloads</a></li>
+												<li><a href="/clerezza/contributing/">Contributing</a></li>
+												<li><a href="http://www.apache.org/licenses/" target="_blank">License</a></li>
+												<li><a href="mailinglists/">Mailing lists</a></li>
+												<li><a href="http://issues.apache.org/jira/browse/CLEREZZA" target="_blank">Issue Tracker</a></li>
+
+												<li><a href="http://svn.apache.org/viewvc/incubator/clerezza/trunk/" target="_blank">Source Repository</a></li>
+											</ul>
+										</div>
+										<div class="sitemap-column">
+											<div class="title">Sponsorship</div>
+											<ul>
+												<li><a href="/clerezza/thanks/">Thanks</a></li>
+												<li><a href="http://www.apache.org/foundation/sponsorship.html" target="_blank">Become a Sponsor</a></li>
+												<li><a href="http://www.apache.org/foundation/buy_stuff.html" target="_blank">Buy Stuff</a></li>
+											</ul>
+										</div>
+									</div>
+
+								</div>
+								<div class="copyright">Apache Clerezza, Clerezza, Apache, the Apache feather logo, and the Apache Clerezza project logo are trademarks of The Apache Software Foundation. <br></br>© 2011 The Apache Software Foundation.</div>
+							</div>
+						</div>
+
+
+					</body>
+				</html>
\ No newline at end of file

Added: clerezza/site/production/bundle-doc/org.apache.clerezza.utils.imageprocessing/imagereaderservice-content-el/2.rdf
URL: http://svn.apache.org/viewvc/clerezza/site/production/bundle-doc/org.apache.clerezza.utils.imageprocessing/imagereaderservice-content-el/2.rdf?rev=1464148&view=auto
==============================================================================
--- clerezza/site/production/bundle-doc/org.apache.clerezza.utils.imageprocessing/imagereaderservice-content-el/2.rdf (added)
+++ clerezza/site/production/bundle-doc/org.apache.clerezza.utils.imageprocessing/imagereaderservice-content-el/2.rdf Wed Apr  3 18:37:39 2013
@@ -0,0 +1,27 @@
+<rdf:RDF
+    xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
+    xmlns:j.0="http://discobits.org/ontology#" > 
+  <rdf:Description rdf:about="http://incubator.apache.org/clerezza/bundle-doc/org.apache.clerezza.utils.imageprocessing/imagereaderservice-content-el/2">
+    <rdf:type rdf:resource="http://discobits.org/ontology#TitledContent"/>
+    <j.0:contains rdf:nodeID="A0"/>
+    <j.0:contains rdf:nodeID="A1"/>
+  </rdf:Description>
+  <rdf:Description rdf:nodeID="A1">
+    <j.0:pos>1</j.0:pos>
+    <j.0:holds rdf:resource="http://incubator.apache.org/clerezza/bundle-doc/org.apache.clerezza.utils.imageprocessing/imagereaderservice-content-el/2-content"/>
+    <rdf:type rdf:resource="http://discobits.org/ontology#Entry"/>
+  </rdf:Description>
+  <rdf:Description rdf:nodeID="A0">
+    <rdf:type rdf:resource="http://discobits.org/ontology#Entry"/>
+    <j.0:holds rdf:resource="http://incubator.apache.org/clerezza/bundle-doc/org.apache.clerezza.utils.imageprocessing/imagereaderservice-content-el/2-title"/>
+    <j.0:pos>0</j.0:pos>
+  </rdf:Description>
+  <rdf:Description rdf:about="http://incubator.apache.org/clerezza/bundle-doc/org.apache.clerezza.utils.imageprocessing/imagereaderservice-content">
+    <j.0:contains rdf:nodeID="A2"/>
+  </rdf:Description>
+  <rdf:Description rdf:nodeID="A2">
+    <j.0:pos>1</j.0:pos>
+    <rdf:type rdf:resource="http://discobits.org/ontology#Entry"/>
+    <j.0:holds rdf:resource="http://incubator.apache.org/clerezza/bundle-doc/org.apache.clerezza.utils.imageprocessing/imagereaderservice-content-el/2"/>
+  </rdf:Description>
+</rdf:RDF>

Added: clerezza/site/production/bundle-doc/org.apache.clerezza.utils.imageprocessing/imagereaderservice-content-el/2.xhtml
URL: http://svn.apache.org/viewvc/clerezza/site/production/bundle-doc/org.apache.clerezza.utils.imageprocessing/imagereaderservice-content-el/2.xhtml?rev=1464148&view=auto
==============================================================================
--- clerezza/site/production/bundle-doc/org.apache.clerezza.utils.imageprocessing/imagereaderservice-content-el/2.xhtml (added)
+++ clerezza/site/production/bundle-doc/org.apache.clerezza.utils.imageprocessing/imagereaderservice-content-el/2.xhtml Wed Apr  3 18:37:39 2013
@@ -0,0 +1,116 @@
+<html xmlns="http://www.w3.org/1999/xhtml">
+					<head>
+						<link type="text/css" href="/clerezza/style/style.css" rel="stylesheet"/>
+						<title>How to use the ImageReaderService
+</title>
+					</head>
+					<body>
+						<div class="zz-header">
+
+							<div class="bar"></div>
+							<div class="logo">
+								<a href="http://incubator.apache.org/clerezza/" style=""><img src="/clerezza/images/logo.png" alt="logo"/></a>
+							</div>
+						</div>
+						<div class="column nav">
+							<ul>
+								<li class="top-nav-entry"><div class="title">Documentation</div>
+
+									<ul class="nav-entries">
+										<li><a href="/clerezza/getting-started/">Getting Started</a></li>
+										<li><a href="/clerezza/architecture/">The Apache Clerezza Stack</a></li>
+										<li><a href="http://incubator.apache.org/clerezza/mvn-site" target="_blank">API docs</a></li>
+										<li><a href="/clerezza/faq/">FAQ</a></li>
+									</ul>
+								</li>
+
+								<li class="top-nav-entry"><div class="title">Project Infos</div>
+									<ul class="nav-entries">
+										<li><a href="/clerezza/downloads/">Downloads</a></li>
+										<li><a href="/clerezza/contributing/">Contributing</a></li>
+										<li><a href="http://www.apache.org/licenses/" target="_blank">License</a></li>
+										<li><a href="/clerezza/mailinglists/">Mailing lists</a></li>
+										<li><a href="http://issues.apache.org/jira/browse/CLEREZZA" target="_blank">Issue Tracker</a></li>
+
+										<li><a href="http://svn.apache.org/viewvc/incubator/clerezza/trunk/" target="_blank">Source Repository</a></li>
+									</ul>
+								</li>
+								<li class="top-nav-entry"><div class="title">Sponsorship</div>
+									<ul class="nav-entries">
+										<li><a href="/clerezza/thanks/">Thanks</a></li>
+										<li><a href="http://www.apache.org/foundation/sponsorship.html" target="_blank">Become a Sponsor</a></li>
+										<li><a href="http://www.apache.org/foundation/buy_stuff.html" target="_blank">Buy Stuff</a></li>
+									</ul>
+								</li>
+							</ul>
+						</div>
+
+						<div class="zz-content">
+							<h1>How to use the ImageReaderService
+</h1>
+<div class="tx-content"><p xmlns="http://www.w3.org/1999/xhtml">
+You can bind the ImageReaderService in an OSGi component by referencing it:
+</p>
+
+<div class="tx-blockcode" xmlns="http://www.w3.org/1999/xhtml"><pre>
+@Reference
+private ImageReaderService imageReaderService;
+</pre></div>
+
+<p xmlns="http://www.w3.org/1999/xhtml">
+Then you can either call the getImageReader() method to obtain the highest ranking ImageReader registered or use one of the getBufferedImage methods that will delegate to the highest ranking ImageReader.
+</p>
+
+</div>
+
+						</div>
+						<div class="footer">
+							<div class="logos"><img src="/clerezza/images/feather.png"/><img src="/clerezza/images/sw-vert-w3c.png"/><img src="/clerezza/images/footer-logo.png"/></div>
+
+							<div class="divider"></div>
+							<div class="dark">
+								<div class="sitemap">
+									<div class="sitemap-title">Sitemap</div>
+									<div class="sitemap-content">
+										<div class="sitemap-column">
+											<div class="title">Documentation</div>
+											<ul>
+
+												<li><a href="/clerezza/getting-started/">Getting Started</a></li>
+												<li><a href="/clerezza/architecture/">The Apache Clerezza Stack</a></li>
+												<li><a href="http://incubator.apache.org/clerezza/mvn-site" target="_blank">API docs</a></li>
+												<li><a href="/clerezza/faq/">FAQ</a></li>
+											</ul>
+
+										</div>
+										<div class="sitemap-column">
+
+											<div class="title">Project Infos</div>
+											<ul>
+												<li><a href="/clerezza/downloads/">Downloads</a></li>
+												<li><a href="/clerezza/contributing/">Contributing</a></li>
+												<li><a href="http://www.apache.org/licenses/" target="_blank">License</a></li>
+												<li><a href="mailinglists/">Mailing lists</a></li>
+												<li><a href="http://issues.apache.org/jira/browse/CLEREZZA" target="_blank">Issue Tracker</a></li>
+
+												<li><a href="http://svn.apache.org/viewvc/incubator/clerezza/trunk/" target="_blank">Source Repository</a></li>
+											</ul>
+										</div>
+										<div class="sitemap-column">
+											<div class="title">Sponsorship</div>
+											<ul>
+												<li><a href="/clerezza/thanks/">Thanks</a></li>
+												<li><a href="http://www.apache.org/foundation/sponsorship.html" target="_blank">Become a Sponsor</a></li>
+												<li><a href="http://www.apache.org/foundation/buy_stuff.html" target="_blank">Buy Stuff</a></li>
+											</ul>
+										</div>
+									</div>
+
+								</div>
+								<div class="copyright">Apache Clerezza, Clerezza, Apache, the Apache feather logo, and the Apache Clerezza project logo are trademarks of The Apache Software Foundation. <br></br>© 2011 The Apache Software Foundation.</div>
+							</div>
+						</div>
+
+
+					</body>
+				</html>
\ No newline at end of file

Added: clerezza/site/production/bundle-doc/org.apache.clerezza.utils.imageprocessing/imagereaderservice-content-el/3-content.html
URL: http://svn.apache.org/viewvc/clerezza/site/production/bundle-doc/org.apache.clerezza.utils.imageprocessing/imagereaderservice-content-el/3-content.html?rev=1464148&view=auto
==============================================================================
--- clerezza/site/production/bundle-doc/org.apache.clerezza.utils.imageprocessing/imagereaderservice-content-el/3-content.html (added)
+++ clerezza/site/production/bundle-doc/org.apache.clerezza.utils.imageprocessing/imagereaderservice-content-el/3-content.html Wed Apr  3 18:37:39 2013
@@ -0,0 +1,35 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xml:lang="en" xmlns="http://www.w3.org/1999/xhtml" lang="en">
+	<head>
+		<link type="text/css" href="/clerezza/style/style.css" rel="stylesheet" />
+		<meta content="noindex, nofollow" name="robots"/>
+		<title>Untitled Content</title>
+	</head>
+	<body>
+			<p xmlns="http://www.w3.org/1999/xhtml">
+To register a custom ImageReader with service ranking of 1 (default is 0) you need to create a bundle providing an ImageReader service as follows:
+</p>
+
+<div xmlns="http://www.w3.org/1999/xhtml" class="tx-blockcode"><pre>
+@Component
+@Service(ImageReader.class)
+@Property(name=Constants.SERVICE_RANKING, intValue=1)
+public class BetterImageReader implements ImageReader {
+    // ...
+}
+</pre></div>
+
+<p xmlns="http://www.w3.org/1999/xhtml">
+When the component metaType is declared true and the service.ranking property is declared non-private, the service.ranking can by dynamically configured at runtime in the Felix Web Console.
+</p>
+
+<div xmlns="http://www.w3.org/1999/xhtml" class="tx-blockcode"><pre>
+@Component(metatype=true)
+@Service(ImageReader.class)
+@Property(name=Constants.SERVICE_RANKING, intValue=1, propertyPrivate=false)
+public class BetterImageReader implements ImageReader {
+    // ...
+}</pre></div>
+
+	</body>
+</html>

Added: clerezza/site/production/bundle-doc/org.apache.clerezza.utils.imageprocessing/imagereaderservice-content-el/3-content.rdf
URL: http://svn.apache.org/viewvc/clerezza/site/production/bundle-doc/org.apache.clerezza.utils.imageprocessing/imagereaderservice-content-el/3-content.rdf?rev=1464148&view=auto
==============================================================================
--- clerezza/site/production/bundle-doc/org.apache.clerezza.utils.imageprocessing/imagereaderservice-content-el/3-content.rdf (added)
+++ clerezza/site/production/bundle-doc/org.apache.clerezza.utils.imageprocessing/imagereaderservice-content-el/3-content.rdf Wed Apr  3 18:37:39 2013
@@ -0,0 +1,39 @@
+<rdf:RDF
+    xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
+    xmlns:j.0="http://discobits.org/ontology#" > 
+  <rdf:Description rdf:nodeID="A0">
+    <j.0:holds rdf:resource="http://incubator.apache.org/clerezza/bundle-doc/org.apache.clerezza.utils.imageprocessing/imagereaderservice-content-el/3-content"/>
+    <j.0:pos>1</j.0:pos>
+    <rdf:type rdf:resource="http://discobits.org/ontology#Entry"/>
+  </rdf:Description>
+  <rdf:Description rdf:about="http://incubator.apache.org/clerezza/bundle-doc/org.apache.clerezza.utils.imageprocessing/imagereaderservice-content-el/3">
+    <j.0:contains rdf:nodeID="A0"/>
+  </rdf:Description>
+  <rdf:Description rdf:about="http://incubator.apache.org/clerezza/bundle-doc/org.apache.clerezza.utils.imageprocessing/imagereaderservice-content-el/3-content">
+    <j.0:infoBit rdf:parseType="Literal"><p xmlns="http://www.w3.org/1999/xhtml">
+To register a custom ImageReader with service ranking of 1 (default is 0) you need to create a bundle providing an ImageReader service as follows:
+</p>
+
+<div xmlns="http://www.w3.org/1999/xhtml" class="tx-blockcode"><pre>
+@Component
+@Service(ImageReader.class)
+@Property(name=Constants.SERVICE_RANKING, intValue=1)
+public class BetterImageReader implements ImageReader {
+    // ...
+}
+</pre></div>
+
+<p xmlns="http://www.w3.org/1999/xhtml">
+When the component metaType is declared true and the service.ranking property is declared non-private, the service.ranking can by dynamically configured at runtime in the Felix Web Console.
+</p>
+
+<div xmlns="http://www.w3.org/1999/xhtml" class="tx-blockcode"><pre>
+@Component(metatype=true)
+@Service(ImageReader.class)
+@Property(name=Constants.SERVICE_RANKING, intValue=1, propertyPrivate=false)
+public class BetterImageReader implements ImageReader {
+    // ...
+}</pre></div></j.0:infoBit>
+    <rdf:type rdf:resource="http://discobits.org/ontology#XHTMLInfoDiscoBit"/>
+  </rdf:Description>
+</rdf:RDF>

Added: clerezza/site/production/bundle-doc/org.apache.clerezza.utils.imageprocessing/imagereaderservice-content-el/3-content.xhtml
URL: http://svn.apache.org/viewvc/clerezza/site/production/bundle-doc/org.apache.clerezza.utils.imageprocessing/imagereaderservice-content-el/3-content.xhtml?rev=1464148&view=auto
==============================================================================
--- clerezza/site/production/bundle-doc/org.apache.clerezza.utils.imageprocessing/imagereaderservice-content-el/3-content.xhtml (added)
+++ clerezza/site/production/bundle-doc/org.apache.clerezza.utils.imageprocessing/imagereaderservice-content-el/3-content.xhtml Wed Apr  3 18:37:39 2013
@@ -0,0 +1,35 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xml:lang="en" xmlns="http://www.w3.org/1999/xhtml" lang="en">
+	<head>
+		<link type="text/css" href="/clerezza/style/style.css" rel="stylesheet" />
+		<meta content="noindex, nofollow" name="robots"/>
+		<title>Untitled Content</title>
+	</head>
+	<body>
+			<p xmlns="http://www.w3.org/1999/xhtml">
+To register a custom ImageReader with service ranking of 1 (default is 0) you need to create a bundle providing an ImageReader service as follows:
+</p>
+
+<div xmlns="http://www.w3.org/1999/xhtml" class="tx-blockcode"><pre>
+@Component
+@Service(ImageReader.class)
+@Property(name=Constants.SERVICE_RANKING, intValue=1)
+public class BetterImageReader implements ImageReader {
+    // ...
+}
+</pre></div>
+
+<p xmlns="http://www.w3.org/1999/xhtml">
+When the component metaType is declared true and the service.ranking property is declared non-private, the service.ranking can by dynamically configured at runtime in the Felix Web Console.
+</p>
+
+<div xmlns="http://www.w3.org/1999/xhtml" class="tx-blockcode"><pre>
+@Component(metatype=true)
+@Service(ImageReader.class)
+@Property(name=Constants.SERVICE_RANKING, intValue=1, propertyPrivate=false)
+public class BetterImageReader implements ImageReader {
+    // ...
+}</pre></div>
+
+	</body>
+</html>

Added: clerezza/site/production/bundle-doc/org.apache.clerezza.utils.imageprocessing/imagereaderservice-content-el/3-title.html
URL: http://svn.apache.org/viewvc/clerezza/site/production/bundle-doc/org.apache.clerezza.utils.imageprocessing/imagereaderservice-content-el/3-title.html?rev=1464148&view=auto
==============================================================================
--- clerezza/site/production/bundle-doc/org.apache.clerezza.utils.imageprocessing/imagereaderservice-content-el/3-title.html (added)
+++ clerezza/site/production/bundle-doc/org.apache.clerezza.utils.imageprocessing/imagereaderservice-content-el/3-title.html Wed Apr  3 18:37:39 2013
@@ -0,0 +1,12 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xml:lang="en" xmlns="http://www.w3.org/1999/xhtml" lang="en">
+	<head>
+		<link type="text/css" href="/clerezza/style/style.css" rel="stylesheet" />
+		<meta content="noindex, nofollow" name="robots"/>
+		<title>Untitled Content</title>
+	</head>
+	<body>
+			How to register a custom ImageRead
+
+	</body>
+</html>

Added: clerezza/site/production/bundle-doc/org.apache.clerezza.utils.imageprocessing/imagereaderservice-content-el/3-title.rdf
URL: http://svn.apache.org/viewvc/clerezza/site/production/bundle-doc/org.apache.clerezza.utils.imageprocessing/imagereaderservice-content-el/3-title.rdf?rev=1464148&view=auto
==============================================================================
--- clerezza/site/production/bundle-doc/org.apache.clerezza.utils.imageprocessing/imagereaderservice-content-el/3-title.rdf (added)
+++ clerezza/site/production/bundle-doc/org.apache.clerezza.utils.imageprocessing/imagereaderservice-content-el/3-title.rdf Wed Apr  3 18:37:39 2013
@@ -0,0 +1,16 @@
+<rdf:RDF
+    xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
+    xmlns:j.0="http://discobits.org/ontology#" > 
+  <rdf:Description rdf:about="http://incubator.apache.org/clerezza/bundle-doc/org.apache.clerezza.utils.imageprocessing/imagereaderservice-content-el/3">
+    <j.0:contains rdf:nodeID="A0"/>
+  </rdf:Description>
+  <rdf:Description rdf:nodeID="A0">
+    <j.0:holds rdf:resource="http://incubator.apache.org/clerezza/bundle-doc/org.apache.clerezza.utils.imageprocessing/imagereaderservice-content-el/3-title"/>
+    <rdf:type rdf:resource="http://discobits.org/ontology#Entry"/>
+    <j.0:pos>0</j.0:pos>
+  </rdf:Description>
+  <rdf:Description rdf:about="http://incubator.apache.org/clerezza/bundle-doc/org.apache.clerezza.utils.imageprocessing/imagereaderservice-content-el/3-title">
+    <j.0:infoBit rdf:parseType="Literal">How to register a custom ImageRead</j.0:infoBit>
+    <rdf:type rdf:resource="http://discobits.org/ontology#XHTMLInfoDiscoBit"/>
+  </rdf:Description>
+</rdf:RDF>

Added: clerezza/site/production/bundle-doc/org.apache.clerezza.utils.imageprocessing/imagereaderservice-content-el/3-title.xhtml
URL: http://svn.apache.org/viewvc/clerezza/site/production/bundle-doc/org.apache.clerezza.utils.imageprocessing/imagereaderservice-content-el/3-title.xhtml?rev=1464148&view=auto
==============================================================================
--- clerezza/site/production/bundle-doc/org.apache.clerezza.utils.imageprocessing/imagereaderservice-content-el/3-title.xhtml (added)
+++ clerezza/site/production/bundle-doc/org.apache.clerezza.utils.imageprocessing/imagereaderservice-content-el/3-title.xhtml Wed Apr  3 18:37:39 2013
@@ -0,0 +1,12 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xml:lang="en" xmlns="http://www.w3.org/1999/xhtml" lang="en">
+	<head>
+		<link type="text/css" href="/clerezza/style/style.css" rel="stylesheet" />
+		<meta content="noindex, nofollow" name="robots"/>
+		<title>Untitled Content</title>
+	</head>
+	<body>
+			How to register a custom ImageRead
+
+	</body>
+</html>

Added: clerezza/site/production/bundle-doc/org.apache.clerezza.utils.imageprocessing/imagereaderservice-content-el/3.html
URL: http://svn.apache.org/viewvc/clerezza/site/production/bundle-doc/org.apache.clerezza.utils.imageprocessing/imagereaderservice-content-el/3.html?rev=1464148&view=auto
==============================================================================
--- clerezza/site/production/bundle-doc/org.apache.clerezza.utils.imageprocessing/imagereaderservice-content-el/3.html (added)
+++ clerezza/site/production/bundle-doc/org.apache.clerezza.utils.imageprocessing/imagereaderservice-content-el/3.html Wed Apr  3 18:37:39 2013
@@ -0,0 +1,127 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml">
+					<head>
+						<link type="text/css" href="/clerezza/style/style.css" rel="stylesheet"/>
+						<title>How to register a custom ImageRead
+</title>
+					</head>
+					<body>
+						<div class="zz-header">
+
+							<div class="bar"></div>
+							<div class="logo">
+								<a href="http://incubator.apache.org/clerezza/" style=""><img src="/clerezza/images/logo.png" alt="logo"/></a>
+							</div>
+						</div>
+						<div class="column nav">
+							<ul>
+								<li class="top-nav-entry"><div class="title">Documentation</div>
+
+									<ul class="nav-entries">
+										<li><a href="/clerezza/getting-started/">Getting Started</a></li>
+										<li><a href="/clerezza/architecture/">The Apache Clerezza Stack</a></li>
+										<li><a href="http://incubator.apache.org/clerezza/mvn-site" target="_blank">API docs</a></li>
+										<li><a href="/clerezza/faq/">FAQ</a></li>
+									</ul>
+								</li>
+
+								<li class="top-nav-entry"><div class="title">Project Infos</div>
+									<ul class="nav-entries">
+										<li><a href="/clerezza/downloads/">Downloads</a></li>
+										<li><a href="/clerezza/contributing/">Contributing</a></li>
+										<li><a href="http://www.apache.org/licenses/" target="_blank">License</a></li>
+										<li><a href="/clerezza/mailinglists/">Mailing lists</a></li>
+										<li><a href="http://issues.apache.org/jira/browse/CLEREZZA" target="_blank">Issue Tracker</a></li>
+
+										<li><a href="http://svn.apache.org/viewvc/incubator/clerezza/trunk/" target="_blank">Source Repository</a></li>
+									</ul>
+								</li>
+								<li class="top-nav-entry"><div class="title">Sponsorship</div>
+									<ul class="nav-entries">
+										<li><a href="/clerezza/thanks/">Thanks</a></li>
+										<li><a href="http://www.apache.org/foundation/sponsorship.html" target="_blank">Become a Sponsor</a></li>
+										<li><a href="http://www.apache.org/foundation/buy_stuff.html" target="_blank">Buy Stuff</a></li>
+									</ul>
+								</li>
+							</ul>
+						</div>
+
+						<div class="zz-content">
+							<h1>How to register a custom ImageRead
+</h1>
+<div class="tx-content"><p xmlns="http://www.w3.org/1999/xhtml">
+To register a custom ImageReader with service ranking of 1 (default is 0) you need to create a bundle providing an ImageReader service as follows:
+</p>
+
+<div class="tx-blockcode" xmlns="http://www.w3.org/1999/xhtml"><pre>
+@Component
+@Service(ImageReader.class)
+@Property(name=Constants.SERVICE_RANKING, intValue=1)
+public class BetterImageReader implements ImageReader {
+    // ...
+}
+</pre></div>
+
+<p xmlns="http://www.w3.org/1999/xhtml">
+When the component metaType is declared true and the service.ranking property is declared non-private, the service.ranking can by dynamically configured at runtime in the Felix Web Console.
+</p>
+
+<div class="tx-blockcode" xmlns="http://www.w3.org/1999/xhtml"><pre>
+@Component(metatype=true)
+@Service(ImageReader.class)
+@Property(name=Constants.SERVICE_RANKING, intValue=1, propertyPrivate=false)
+public class BetterImageReader implements ImageReader {
+    // ...
+}</pre></div>
+</div>
+
+						</div>
+						<div class="footer">
+							<div class="logos"><img src="/clerezza/images/feather.png"/><img src="/clerezza/images/sw-vert-w3c.png"/><img src="/clerezza/images/footer-logo.png"/></div>
+
+							<div class="divider"></div>
+							<div class="dark">
+								<div class="sitemap">
+									<div class="sitemap-title">Sitemap</div>
+									<div class="sitemap-content">
+										<div class="sitemap-column">
+											<div class="title">Documentation</div>
+											<ul>
+
+												<li><a href="/clerezza/getting-started/">Getting Started</a></li>
+												<li><a href="/clerezza/architecture/">The Apache Clerezza Stack</a></li>
+												<li><a href="http://incubator.apache.org/clerezza/mvn-site" target="_blank">API docs</a></li>
+												<li><a href="/clerezza/faq/">FAQ</a></li>
+											</ul>
+
+										</div>
+										<div class="sitemap-column">
+
+											<div class="title">Project Infos</div>
+											<ul>
+												<li><a href="/clerezza/downloads/">Downloads</a></li>
+												<li><a href="/clerezza/contributing/">Contributing</a></li>
+												<li><a href="http://www.apache.org/licenses/" target="_blank">License</a></li>
+												<li><a href="mailinglists/">Mailing lists</a></li>
+												<li><a href="http://issues.apache.org/jira/browse/CLEREZZA" target="_blank">Issue Tracker</a></li>
+
+												<li><a href="http://svn.apache.org/viewvc/incubator/clerezza/trunk/" target="_blank">Source Repository</a></li>
+											</ul>
+										</div>
+										<div class="sitemap-column">
+											<div class="title">Sponsorship</div>
+											<ul>
+												<li><a href="/clerezza/thanks/">Thanks</a></li>
+												<li><a href="http://www.apache.org/foundation/sponsorship.html" target="_blank">Become a Sponsor</a></li>
+												<li><a href="http://www.apache.org/foundation/buy_stuff.html" target="_blank">Buy Stuff</a></li>
+											</ul>
+										</div>
+									</div>
+
+								</div>
+								<div class="copyright">Apache Clerezza, Clerezza, Apache, the Apache feather logo, and the Apache Clerezza project logo are trademarks of The Apache Software Foundation. <br></br>© 2011 The Apache Software Foundation.</div>
+							</div>
+						</div>
+
+
+					</body>
+				</html>
\ No newline at end of file

Added: clerezza/site/production/bundle-doc/org.apache.clerezza.utils.imageprocessing/imagereaderservice-content-el/3.rdf
URL: http://svn.apache.org/viewvc/clerezza/site/production/bundle-doc/org.apache.clerezza.utils.imageprocessing/imagereaderservice-content-el/3.rdf?rev=1464148&view=auto
==============================================================================
--- clerezza/site/production/bundle-doc/org.apache.clerezza.utils.imageprocessing/imagereaderservice-content-el/3.rdf (added)
+++ clerezza/site/production/bundle-doc/org.apache.clerezza.utils.imageprocessing/imagereaderservice-content-el/3.rdf Wed Apr  3 18:37:39 2013
@@ -0,0 +1,27 @@
+<rdf:RDF
+    xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
+    xmlns:j.0="http://discobits.org/ontology#" > 
+  <rdf:Description rdf:about="http://incubator.apache.org/clerezza/bundle-doc/org.apache.clerezza.utils.imageprocessing/imagereaderservice-content-el/3">
+    <rdf:type rdf:resource="http://discobits.org/ontology#TitledContent"/>
+    <j.0:contains rdf:nodeID="A0"/>
+    <j.0:contains rdf:nodeID="A1"/>
+  </rdf:Description>
+  <rdf:Description rdf:nodeID="A0">
+    <j.0:holds rdf:resource="http://incubator.apache.org/clerezza/bundle-doc/org.apache.clerezza.utils.imageprocessing/imagereaderservice-content-el/3-content"/>
+    <j.0:pos>1</j.0:pos>
+    <rdf:type rdf:resource="http://discobits.org/ontology#Entry"/>
+  </rdf:Description>
+  <rdf:Description rdf:nodeID="A1">
+    <j.0:holds rdf:resource="http://incubator.apache.org/clerezza/bundle-doc/org.apache.clerezza.utils.imageprocessing/imagereaderservice-content-el/3-title"/>
+    <rdf:type rdf:resource="http://discobits.org/ontology#Entry"/>
+    <j.0:pos>0</j.0:pos>
+  </rdf:Description>
+  <rdf:Description rdf:about="http://incubator.apache.org/clerezza/bundle-doc/org.apache.clerezza.utils.imageprocessing/imagereaderservice-content">
+    <j.0:contains rdf:nodeID="A2"/>
+  </rdf:Description>
+  <rdf:Description rdf:nodeID="A2">
+    <j.0:holds rdf:resource="http://incubator.apache.org/clerezza/bundle-doc/org.apache.clerezza.utils.imageprocessing/imagereaderservice-content-el/3"/>
+    <rdf:type rdf:resource="http://discobits.org/ontology#Entry"/>
+    <j.0:pos>2</j.0:pos>
+  </rdf:Description>
+</rdf:RDF>

Added: clerezza/site/production/bundle-doc/org.apache.clerezza.utils.imageprocessing/imagereaderservice-content-el/3.xhtml
URL: http://svn.apache.org/viewvc/clerezza/site/production/bundle-doc/org.apache.clerezza.utils.imageprocessing/imagereaderservice-content-el/3.xhtml?rev=1464148&view=auto
==============================================================================
--- clerezza/site/production/bundle-doc/org.apache.clerezza.utils.imageprocessing/imagereaderservice-content-el/3.xhtml (added)
+++ clerezza/site/production/bundle-doc/org.apache.clerezza.utils.imageprocessing/imagereaderservice-content-el/3.xhtml Wed Apr  3 18:37:39 2013
@@ -0,0 +1,127 @@
+<html xmlns="http://www.w3.org/1999/xhtml">
+					<head>
+						<link type="text/css" href="/clerezza/style/style.css" rel="stylesheet"/>
+						<title>How to register a custom ImageRead
+</title>
+					</head>
+					<body>
+						<div class="zz-header">
+
+							<div class="bar"></div>
+							<div class="logo">
+								<a href="http://incubator.apache.org/clerezza/" style=""><img src="/clerezza/images/logo.png" alt="logo"/></a>
+							</div>
+						</div>
+						<div class="column nav">
+							<ul>
+								<li class="top-nav-entry"><div class="title">Documentation</div>
+
+									<ul class="nav-entries">
+										<li><a href="/clerezza/getting-started/">Getting Started</a></li>
+										<li><a href="/clerezza/architecture/">The Apache Clerezza Stack</a></li>
+										<li><a href="http://incubator.apache.org/clerezza/mvn-site" target="_blank">API docs</a></li>
+										<li><a href="/clerezza/faq/">FAQ</a></li>
+									</ul>
+								</li>
+
+								<li class="top-nav-entry"><div class="title">Project Infos</div>
+									<ul class="nav-entries">
+										<li><a href="/clerezza/downloads/">Downloads</a></li>
+										<li><a href="/clerezza/contributing/">Contributing</a></li>
+										<li><a href="http://www.apache.org/licenses/" target="_blank">License</a></li>
+										<li><a href="/clerezza/mailinglists/">Mailing lists</a></li>
+										<li><a href="http://issues.apache.org/jira/browse/CLEREZZA" target="_blank">Issue Tracker</a></li>
+
+										<li><a href="http://svn.apache.org/viewvc/incubator/clerezza/trunk/" target="_blank">Source Repository</a></li>
+									</ul>
+								</li>
+								<li class="top-nav-entry"><div class="title">Sponsorship</div>
+									<ul class="nav-entries">
+										<li><a href="/clerezza/thanks/">Thanks</a></li>
+										<li><a href="http://www.apache.org/foundation/sponsorship.html" target="_blank">Become a Sponsor</a></li>
+										<li><a href="http://www.apache.org/foundation/buy_stuff.html" target="_blank">Buy Stuff</a></li>
+									</ul>
+								</li>
+							</ul>
+						</div>
+
+						<div class="zz-content">
+							<h1>How to register a custom ImageRead
+</h1>
+<div class="tx-content"><p xmlns="http://www.w3.org/1999/xhtml">
+To register a custom ImageReader with service ranking of 1 (default is 0) you need to create a bundle providing an ImageReader service as follows:
+</p>
+
+<div class="tx-blockcode" xmlns="http://www.w3.org/1999/xhtml"><pre>
+@Component
+@Service(ImageReader.class)
+@Property(name=Constants.SERVICE_RANKING, intValue=1)
+public class BetterImageReader implements ImageReader {
+    // ...
+}
+</pre></div>
+
+<p xmlns="http://www.w3.org/1999/xhtml">
+When the component metaType is declared true and the service.ranking property is declared non-private, the service.ranking can by dynamically configured at runtime in the Felix Web Console.
+</p>
+
+<div class="tx-blockcode" xmlns="http://www.w3.org/1999/xhtml"><pre>
+@Component(metatype=true)
+@Service(ImageReader.class)
+@Property(name=Constants.SERVICE_RANKING, intValue=1, propertyPrivate=false)
+public class BetterImageReader implements ImageReader {
+    // ...
+}</pre></div>
+</div>
+
+						</div>
+						<div class="footer">
+							<div class="logos"><img src="/clerezza/images/feather.png"/><img src="/clerezza/images/sw-vert-w3c.png"/><img src="/clerezza/images/footer-logo.png"/></div>
+
+							<div class="divider"></div>
+							<div class="dark">
+								<div class="sitemap">
+									<div class="sitemap-title">Sitemap</div>
+									<div class="sitemap-content">
+										<div class="sitemap-column">
+											<div class="title">Documentation</div>
+											<ul>
+
+												<li><a href="/clerezza/getting-started/">Getting Started</a></li>
+												<li><a href="/clerezza/architecture/">The Apache Clerezza Stack</a></li>
+												<li><a href="http://incubator.apache.org/clerezza/mvn-site" target="_blank">API docs</a></li>
+												<li><a href="/clerezza/faq/">FAQ</a></li>
+											</ul>
+
+										</div>
+										<div class="sitemap-column">
+
+											<div class="title">Project Infos</div>
+											<ul>
+												<li><a href="/clerezza/downloads/">Downloads</a></li>
+												<li><a href="/clerezza/contributing/">Contributing</a></li>
+												<li><a href="http://www.apache.org/licenses/" target="_blank">License</a></li>
+												<li><a href="mailinglists/">Mailing lists</a></li>
+												<li><a href="http://issues.apache.org/jira/browse/CLEREZZA" target="_blank">Issue Tracker</a></li>
+
+												<li><a href="http://svn.apache.org/viewvc/incubator/clerezza/trunk/" target="_blank">Source Repository</a></li>
+											</ul>
+										</div>
+										<div class="sitemap-column">
+											<div class="title">Sponsorship</div>
+											<ul>
+												<li><a href="/clerezza/thanks/">Thanks</a></li>
+												<li><a href="http://www.apache.org/foundation/sponsorship.html" target="_blank">Become a Sponsor</a></li>
+												<li><a href="http://www.apache.org/foundation/buy_stuff.html" target="_blank">Buy Stuff</a></li>
+											</ul>
+										</div>
+									</div>
+
+								</div>
+								<div class="copyright">Apache Clerezza, Clerezza, Apache, the Apache feather logo, and the Apache Clerezza project logo are trademarks of The Apache Software Foundation. <br></br>© 2011 The Apache Software Foundation.</div>
+							</div>
+						</div>
+
+
+					</body>
+				</html>
\ No newline at end of file

Added: clerezza/site/production/bundle-doc/org.apache.clerezza.utils.imageprocessing/imagereaderservice-content.html
URL: http://svn.apache.org/viewvc/clerezza/site/production/bundle-doc/org.apache.clerezza.utils.imageprocessing/imagereaderservice-content.html?rev=1464148&view=auto
==============================================================================
--- clerezza/site/production/bundle-doc/org.apache.clerezza.utils.imageprocessing/imagereaderservice-content.html (added)
+++ clerezza/site/production/bundle-doc/org.apache.clerezza.utils.imageprocessing/imagereaderservice-content.html Wed Apr  3 18:37:39 2013
@@ -0,0 +1,79 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xml:lang="en" xmlns="http://www.w3.org/1999/xhtml" lang="en">
+	<head>
+		<link type="text/css" href="/clerezza/style/style.css" rel="stylesheet" />
+		<meta content="noindex, nofollow" name="robots"/>
+		<title>Untitled Content</title>
+	</head>
+	<body>
+			
+
+	<div>
+
+	<div>Purpose
+</div>
+
+	<div><p xmlns="http://www.w3.org/1999/xhtml">
+By default the Clerezza Platform uses javax.imageio to read image data. However there are at least two scenarios when users may want to change that. 
+</p>
+<ol xmlns="http://www.w3.org/1999/xhtml">
+<li>When reading images that ImageIO does not support (different image formats or image formats that may be considered corrupt by ImageIO)</li>
+<li>When wanting to improve image processing performance.</li>
+</ol>
+<p xmlns="http://www.w3.org/1999/xhtml">
+A major difficulty in resolving these problems is that normally there is no way other than changing source code and recompiling to make existing services use a different method of reading images. With the introduction of the ImageReaderService all Clerezza Platform components have been changed to use the ImageReaderService when obtaining BufferedImages. This service dynamically looks up services that implement the ImageReader interface in the OSGi SCR (Service Component Runtime) and provides the service that is registered with the highest service.ranking property. By default the Clerezza Platform has only one ImageReader service registered that has a service ranking of 0 and reads images using javax.imageio. The ImageReaderService implement the ImageReader interface as well but delegates all calls to the highest ranking registered ImageReader.
+</p>
+</div>
+
+</div>
+
+	<div><h1>How to use the ImageReaderService
+</h1>
+<div class='tx-content'><p xmlns="http://www.w3.org/1999/xhtml">
+You can bind the ImageReaderService in an OSGi component by referencing it:
+</p>
+
+<div xmlns="http://www.w3.org/1999/xhtml" class="tx-blockcode"><pre>
+@Reference
+private ImageReaderService imageReaderService;
+</pre></div>
+
+<p xmlns="http://www.w3.org/1999/xhtml">
+Then you can either call the getImageReader() method to obtain the highest ranking ImageReader registered or use one of the getBufferedImage methods that will delegate to the highest ranking ImageReader.
+</p>
+
+</div>
+</div>
+
+	<div><h1>How to register a custom ImageRead
+</h1>
+<div class='tx-content'><p xmlns="http://www.w3.org/1999/xhtml">
+To register a custom ImageReader with service ranking of 1 (default is 0) you need to create a bundle providing an ImageReader service as follows:
+</p>
+
+<div xmlns="http://www.w3.org/1999/xhtml" class="tx-blockcode"><pre>
+@Component
+@Service(ImageReader.class)
+@Property(name=Constants.SERVICE_RANKING, intValue=1)
+public class BetterImageReader implements ImageReader {
+    // ...
+}
+</pre></div>
+
+<p xmlns="http://www.w3.org/1999/xhtml">
+When the component metaType is declared true and the service.ranking property is declared non-private, the service.ranking can by dynamically configured at runtime in the Felix Web Console.
+</p>
+
+<div xmlns="http://www.w3.org/1999/xhtml" class="tx-blockcode"><pre>
+@Component(metatype=true)
+@Service(ImageReader.class)
+@Property(name=Constants.SERVICE_RANKING, intValue=1, propertyPrivate=false)
+public class BetterImageReader implements ImageReader {
+    // ...
+}</pre></div>
+</div>
+</div>
+
+
+	</body>
+</html>

Added: clerezza/site/production/bundle-doc/org.apache.clerezza.utils.imageprocessing/imagereaderservice-content.rdf
URL: http://svn.apache.org/viewvc/clerezza/site/production/bundle-doc/org.apache.clerezza.utils.imageprocessing/imagereaderservice-content.rdf?rev=1464148&view=auto
==============================================================================
--- clerezza/site/production/bundle-doc/org.apache.clerezza.utils.imageprocessing/imagereaderservice-content.rdf (added)
+++ clerezza/site/production/bundle-doc/org.apache.clerezza.utils.imageprocessing/imagereaderservice-content.rdf Wed Apr  3 18:37:39 2013
@@ -0,0 +1,33 @@
+<rdf:RDF
+    xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
+    xmlns:j.0="http://discobits.org/ontology#" > 
+  <rdf:Description rdf:about="http://incubator.apache.org/clerezza/bundle-doc/org.apache.clerezza.utils.imageprocessing/imagereaderservice-content">
+    <j.0:contains rdf:nodeID="A0"/>
+    <j.0:contains rdf:nodeID="A1"/>
+    <j.0:contains rdf:nodeID="A2"/>
+    <rdf:type rdf:resource="http://discobits.org/ontology#OrderedContent"/>
+  </rdf:Description>
+  <rdf:Description rdf:nodeID="A1">
+    <rdf:type rdf:resource="http://discobits.org/ontology#Entry"/>
+    <j.0:holds rdf:resource="http://incubator.apache.org/clerezza/bundle-doc/org.apache.clerezza.utils.imageprocessing/imagereaderservice-content-el/3"/>
+    <j.0:pos>2</j.0:pos>
+  </rdf:Description>
+  <rdf:Description rdf:nodeID="A0">
+    <j.0:pos>1</j.0:pos>
+    <rdf:type rdf:resource="http://discobits.org/ontology#Entry"/>
+    <j.0:holds rdf:resource="http://incubator.apache.org/clerezza/bundle-doc/org.apache.clerezza.utils.imageprocessing/imagereaderservice-content-el/2"/>
+  </rdf:Description>
+  <rdf:Description rdf:nodeID="A2">
+    <j.0:holds rdf:resource="http://incubator.apache.org/clerezza/bundle-doc/org.apache.clerezza.utils.imageprocessing/imagereaderservice-content-el/0"/>
+    <j.0:pos>0</j.0:pos>
+    <rdf:type rdf:resource="http://discobits.org/ontology#Entry"/>
+  </rdf:Description>
+  <rdf:Description rdf:about="http://incubator.apache.org/clerezza/bundle-doc/org.apache.clerezza.utils.imageprocessing/imagereaderservice">
+    <j.0:contains rdf:nodeID="A3"/>
+  </rdf:Description>
+  <rdf:Description rdf:nodeID="A3">
+    <rdf:type rdf:resource="http://discobits.org/ontology#Entry"/>
+    <j.0:holds rdf:resource="http://incubator.apache.org/clerezza/bundle-doc/org.apache.clerezza.utils.imageprocessing/imagereaderservice-content"/>
+    <j.0:pos>1</j.0:pos>
+  </rdf:Description>
+</rdf:RDF>

Added: clerezza/site/production/bundle-doc/org.apache.clerezza.utils.imageprocessing/imagereaderservice-content.xhtml
URL: http://svn.apache.org/viewvc/clerezza/site/production/bundle-doc/org.apache.clerezza.utils.imageprocessing/imagereaderservice-content.xhtml?rev=1464148&view=auto
==============================================================================
--- clerezza/site/production/bundle-doc/org.apache.clerezza.utils.imageprocessing/imagereaderservice-content.xhtml (added)
+++ clerezza/site/production/bundle-doc/org.apache.clerezza.utils.imageprocessing/imagereaderservice-content.xhtml Wed Apr  3 18:37:39 2013
@@ -0,0 +1,79 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xml:lang="en" xmlns="http://www.w3.org/1999/xhtml" lang="en">
+	<head>
+		<link type="text/css" href="/clerezza/style/style.css" rel="stylesheet" />
+		<meta content="noindex, nofollow" name="robots"/>
+		<title>Untitled Content</title>
+	</head>
+	<body>
+			
+
+	<div>
+
+	<div>Purpose
+</div>
+
+	<div><p xmlns="http://www.w3.org/1999/xhtml">
+By default the Clerezza Platform uses javax.imageio to read image data. However there are at least two scenarios when users may want to change that. 
+</p>
+<ol xmlns="http://www.w3.org/1999/xhtml">
+<li>When reading images that ImageIO does not support (different image formats or image formats that may be considered corrupt by ImageIO)</li>
+<li>When wanting to improve image processing performance.</li>
+</ol>
+<p xmlns="http://www.w3.org/1999/xhtml">
+A major difficulty in resolving these problems is that normally there is no way other than changing source code and recompiling to make existing services use a different method of reading images. With the introduction of the ImageReaderService all Clerezza Platform components have been changed to use the ImageReaderService when obtaining BufferedImages. This service dynamically looks up services that implement the ImageReader interface in the OSGi SCR (Service Component Runtime) and provides the service that is registered with the highest service.ranking property. By default the Clerezza Platform has only one ImageReader service registered that has a service ranking of 0 and reads images using javax.imageio. The ImageReaderService implement the ImageReader interface as well but delegates all calls to the highest ranking registered ImageReader.
+</p>
+</div>
+
+</div>
+
+	<div><h1>How to use the ImageReaderService
+</h1>
+<div class='tx-content'><p xmlns="http://www.w3.org/1999/xhtml">
+You can bind the ImageReaderService in an OSGi component by referencing it:
+</p>
+
+<div xmlns="http://www.w3.org/1999/xhtml" class="tx-blockcode"><pre>
+@Reference
+private ImageReaderService imageReaderService;
+</pre></div>
+
+<p xmlns="http://www.w3.org/1999/xhtml">
+Then you can either call the getImageReader() method to obtain the highest ranking ImageReader registered or use one of the getBufferedImage methods that will delegate to the highest ranking ImageReader.
+</p>
+
+</div>
+</div>
+
+	<div><h1>How to register a custom ImageRead
+</h1>
+<div class='tx-content'><p xmlns="http://www.w3.org/1999/xhtml">
+To register a custom ImageReader with service ranking of 1 (default is 0) you need to create a bundle providing an ImageReader service as follows:
+</p>
+
+<div xmlns="http://www.w3.org/1999/xhtml" class="tx-blockcode"><pre>
+@Component
+@Service(ImageReader.class)
+@Property(name=Constants.SERVICE_RANKING, intValue=1)
+public class BetterImageReader implements ImageReader {
+    // ...
+}
+</pre></div>
+
+<p xmlns="http://www.w3.org/1999/xhtml">
+When the component metaType is declared true and the service.ranking property is declared non-private, the service.ranking can by dynamically configured at runtime in the Felix Web Console.
+</p>
+
+<div xmlns="http://www.w3.org/1999/xhtml" class="tx-blockcode"><pre>
+@Component(metatype=true)
+@Service(ImageReader.class)
+@Property(name=Constants.SERVICE_RANKING, intValue=1, propertyPrivate=false)
+public class BetterImageReader implements ImageReader {
+    // ...
+}</pre></div>
+</div>
+</div>
+
+
+	</body>
+</html>

Added: clerezza/site/production/bundle-doc/org.apache.clerezza.utils.imageprocessing/imagereaderservice-title.html
URL: http://svn.apache.org/viewvc/clerezza/site/production/bundle-doc/org.apache.clerezza.utils.imageprocessing/imagereaderservice-title.html?rev=1464148&view=auto
==============================================================================
--- clerezza/site/production/bundle-doc/org.apache.clerezza.utils.imageprocessing/imagereaderservice-title.html (added)
+++ clerezza/site/production/bundle-doc/org.apache.clerezza.utils.imageprocessing/imagereaderservice-title.html Wed Apr  3 18:37:39 2013
@@ -0,0 +1,12 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xml:lang="en" xmlns="http://www.w3.org/1999/xhtml" lang="en">
+	<head>
+		<link type="text/css" href="/clerezza/style/style.css" rel="stylesheet" />
+		<meta content="noindex, nofollow" name="robots"/>
+		<title>Untitled Content</title>
+	</head>
+	<body>
+			Image Reader Service
+
+	</body>
+</html>

Added: clerezza/site/production/bundle-doc/org.apache.clerezza.utils.imageprocessing/imagereaderservice-title.rdf
URL: http://svn.apache.org/viewvc/clerezza/site/production/bundle-doc/org.apache.clerezza.utils.imageprocessing/imagereaderservice-title.rdf?rev=1464148&view=auto
==============================================================================
--- clerezza/site/production/bundle-doc/org.apache.clerezza.utils.imageprocessing/imagereaderservice-title.rdf (added)
+++ clerezza/site/production/bundle-doc/org.apache.clerezza.utils.imageprocessing/imagereaderservice-title.rdf Wed Apr  3 18:37:39 2013
@@ -0,0 +1,16 @@
+<rdf:RDF
+    xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
+    xmlns:j.0="http://discobits.org/ontology#" > 
+  <rdf:Description rdf:nodeID="A0">
+    <j.0:holds rdf:resource="http://incubator.apache.org/clerezza/bundle-doc/org.apache.clerezza.utils.imageprocessing/imagereaderservice-title"/>
+    <rdf:type rdf:resource="http://discobits.org/ontology#Entry"/>
+    <j.0:pos>0</j.0:pos>
+  </rdf:Description>
+  <rdf:Description rdf:about="http://incubator.apache.org/clerezza/bundle-doc/org.apache.clerezza.utils.imageprocessing/imagereaderservice">
+    <j.0:contains rdf:nodeID="A0"/>
+  </rdf:Description>
+  <rdf:Description rdf:about="http://incubator.apache.org/clerezza/bundle-doc/org.apache.clerezza.utils.imageprocessing/imagereaderservice-title">
+    <j.0:infoBit rdf:parseType="Literal">Image Reader Service</j.0:infoBit>
+    <rdf:type rdf:resource="http://discobits.org/ontology#XHTMLInfoDiscoBit"/>
+  </rdf:Description>
+</rdf:RDF>

Added: clerezza/site/production/bundle-doc/org.apache.clerezza.utils.imageprocessing/imagereaderservice-title.xhtml
URL: http://svn.apache.org/viewvc/clerezza/site/production/bundle-doc/org.apache.clerezza.utils.imageprocessing/imagereaderservice-title.xhtml?rev=1464148&view=auto
==============================================================================
--- clerezza/site/production/bundle-doc/org.apache.clerezza.utils.imageprocessing/imagereaderservice-title.xhtml (added)
+++ clerezza/site/production/bundle-doc/org.apache.clerezza.utils.imageprocessing/imagereaderservice-title.xhtml Wed Apr  3 18:37:39 2013
@@ -0,0 +1,12 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xml:lang="en" xmlns="http://www.w3.org/1999/xhtml" lang="en">
+	<head>
+		<link type="text/css" href="/clerezza/style/style.css" rel="stylesheet" />
+		<meta content="noindex, nofollow" name="robots"/>
+		<title>Untitled Content</title>
+	</head>
+	<body>
+			Image Reader Service
+
+	</body>
+</html>

Added: clerezza/site/production/bundle-doc/org.apache.clerezza.utils.imageprocessing/imagereaderservice.html
URL: http://svn.apache.org/viewvc/clerezza/site/production/bundle-doc/org.apache.clerezza.utils.imageprocessing/imagereaderservice.html?rev=1464148&view=auto
==============================================================================
--- clerezza/site/production/bundle-doc/org.apache.clerezza.utils.imageprocessing/imagereaderservice.html (added)
+++ clerezza/site/production/bundle-doc/org.apache.clerezza.utils.imageprocessing/imagereaderservice.html Wed Apr  3 18:37:39 2013
@@ -0,0 +1,171 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml">
+					<head>
+						<link type="text/css" href="/clerezza/style/style.css" rel="stylesheet"/>
+						<title>Image Reader Service
+</title>
+					</head>
+					<body>
+						<div class="zz-header">
+
+							<div class="bar"></div>
+							<div class="logo">
+								<a href="http://incubator.apache.org/clerezza/" style=""><img src="/clerezza/images/logo.png" alt="logo"/></a>
+							</div>
+						</div>
+						<div class="column nav">
+							<ul>
+								<li class="top-nav-entry"><div class="title">Documentation</div>
+
+									<ul class="nav-entries">
+										<li><a href="/clerezza/getting-started/">Getting Started</a></li>
+										<li><a href="/clerezza/architecture/">The Apache Clerezza Stack</a></li>
+										<li><a href="http://incubator.apache.org/clerezza/mvn-site" target="_blank">API docs</a></li>
+										<li><a href="/clerezza/faq/">FAQ</a></li>
+									</ul>
+								</li>
+
+								<li class="top-nav-entry"><div class="title">Project Infos</div>
+									<ul class="nav-entries">
+										<li><a href="/clerezza/downloads/">Downloads</a></li>
+										<li><a href="/clerezza/contributing/">Contributing</a></li>
+										<li><a href="http://www.apache.org/licenses/" target="_blank">License</a></li>
+										<li><a href="/clerezza/mailinglists/">Mailing lists</a></li>
+										<li><a href="http://issues.apache.org/jira/browse/CLEREZZA" target="_blank">Issue Tracker</a></li>
+
+										<li><a href="http://svn.apache.org/viewvc/incubator/clerezza/trunk/" target="_blank">Source Repository</a></li>
+									</ul>
+								</li>
+								<li class="top-nav-entry"><div class="title">Sponsorship</div>
+									<ul class="nav-entries">
+										<li><a href="/clerezza/thanks/">Thanks</a></li>
+										<li><a href="http://www.apache.org/foundation/sponsorship.html" target="_blank">Become a Sponsor</a></li>
+										<li><a href="http://www.apache.org/foundation/buy_stuff.html" target="_blank">Buy Stuff</a></li>
+									</ul>
+								</li>
+							</ul>
+						</div>
+
+						<div class="zz-content">
+							<h1>Image Reader Service
+</h1>
+<div class="tx-content">
+
+	<div>
+
+	<div>Purpose
+</div>
+
+	<div><p xmlns="http://www.w3.org/1999/xhtml">
+By default the Clerezza Platform uses javax.imageio to read image data. However there are at least two scenarios when users may want to change that. 
+</p>
+<ol xmlns="http://www.w3.org/1999/xhtml">
+<li>When reading images that ImageIO does not support (different image formats or image formats that may be considered corrupt by ImageIO)</li>
+<li>When wanting to improve image processing performance.</li>
+</ol>
+<p xmlns="http://www.w3.org/1999/xhtml">
+A major difficulty in resolving these problems is that normally there is no way other than changing source code and recompiling to make existing services use a different method of reading images. With the introduction of the ImageReaderService all Clerezza Platform components have been changed to use the ImageReaderService when obtaining BufferedImages. This service dynamically looks up services that implement the ImageReader interface in the OSGi SCR (Service Component Runtime) and provides the service that is registered with the highest service.ranking property. By default the Clerezza Platform has only one ImageReader service registered that has a service ranking of 0 and reads images using javax.imageio. The ImageReaderService implement the ImageReader interface as well but delegates all calls to the highest ranking registered ImageReader.
+</p>
+</div>
+
+</div>
+
+	<div><h2>How to use the ImageReaderService
+</h2>
+<div class="tx-content"><p xmlns="http://www.w3.org/1999/xhtml">
+You can bind the ImageReaderService in an OSGi component by referencing it:
+</p>
+
+<div class="tx-blockcode" xmlns="http://www.w3.org/1999/xhtml"><pre>
+@Reference
+private ImageReaderService imageReaderService;
+</pre></div>
+
+<p xmlns="http://www.w3.org/1999/xhtml">
+Then you can either call the getImageReader() method to obtain the highest ranking ImageReader registered or use one of the getBufferedImage methods that will delegate to the highest ranking ImageReader.
+</p>
+
+</div>
+</div>
+
+	<div><h2>How to register a custom ImageRead
+</h2>
+<div class="tx-content"><p xmlns="http://www.w3.org/1999/xhtml">
+To register a custom ImageReader with service ranking of 1 (default is 0) you need to create a bundle providing an ImageReader service as follows:
+</p>
+
+<div class="tx-blockcode" xmlns="http://www.w3.org/1999/xhtml"><pre>
+@Component
+@Service(ImageReader.class)
+@Property(name=Constants.SERVICE_RANKING, intValue=1)
+public class BetterImageReader implements ImageReader {
+    // ...
+}
+</pre></div>
+
+<p xmlns="http://www.w3.org/1999/xhtml">
+When the component metaType is declared true and the service.ranking property is declared non-private, the service.ranking can by dynamically configured at runtime in the Felix Web Console.
+</p>
+
+<div class="tx-blockcode" xmlns="http://www.w3.org/1999/xhtml"><pre>
+@Component(metatype=true)
+@Service(ImageReader.class)
+@Property(name=Constants.SERVICE_RANKING, intValue=1, propertyPrivate=false)
+public class BetterImageReader implements ImageReader {
+    // ...
+}</pre></div>
+</div>
+</div>
+
+</div>
+
+						</div>
+						<div class="footer">
+							<div class="logos"><img src="/clerezza/images/feather.png"/><img src="/clerezza/images/sw-vert-w3c.png"/><img src="/clerezza/images/footer-logo.png"/></div>
+
+							<div class="divider"></div>
+							<div class="dark">
+								<div class="sitemap">
+									<div class="sitemap-title">Sitemap</div>
+									<div class="sitemap-content">
+										<div class="sitemap-column">
+											<div class="title">Documentation</div>
+											<ul>
+
+												<li><a href="/clerezza/getting-started/">Getting Started</a></li>
+												<li><a href="/clerezza/architecture/">The Apache Clerezza Stack</a></li>
+												<li><a href="http://incubator.apache.org/clerezza/mvn-site" target="_blank">API docs</a></li>
+												<li><a href="/clerezza/faq/">FAQ</a></li>
+											</ul>
+
+										</div>
+										<div class="sitemap-column">
+
+											<div class="title">Project Infos</div>
+											<ul>
+												<li><a href="/clerezza/downloads/">Downloads</a></li>
+												<li><a href="/clerezza/contributing/">Contributing</a></li>
+												<li><a href="http://www.apache.org/licenses/" target="_blank">License</a></li>
+												<li><a href="mailinglists/">Mailing lists</a></li>
+												<li><a href="http://issues.apache.org/jira/browse/CLEREZZA" target="_blank">Issue Tracker</a></li>
+
+												<li><a href="http://svn.apache.org/viewvc/incubator/clerezza/trunk/" target="_blank">Source Repository</a></li>
+											</ul>
+										</div>
+										<div class="sitemap-column">
+											<div class="title">Sponsorship</div>
+											<ul>
+												<li><a href="/clerezza/thanks/">Thanks</a></li>
+												<li><a href="http://www.apache.org/foundation/sponsorship.html" target="_blank">Become a Sponsor</a></li>
+												<li><a href="http://www.apache.org/foundation/buy_stuff.html" target="_blank">Buy Stuff</a></li>
+											</ul>
+										</div>
+									</div>
+
+								</div>
+								<div class="copyright">Apache Clerezza, Clerezza, Apache, the Apache feather logo, and the Apache Clerezza project logo are trademarks of The Apache Software Foundation. <br></br>© 2011 The Apache Software Foundation.</div>
+							</div>
+						</div>
+
+
+					</body>
+				</html>
\ No newline at end of file

Added: clerezza/site/production/bundle-doc/org.apache.clerezza.utils.imageprocessing/imagereaderservice.rdf
URL: http://svn.apache.org/viewvc/clerezza/site/production/bundle-doc/org.apache.clerezza.utils.imageprocessing/imagereaderservice.rdf?rev=1464148&view=auto
==============================================================================
--- clerezza/site/production/bundle-doc/org.apache.clerezza.utils.imageprocessing/imagereaderservice.rdf (added)
+++ clerezza/site/production/bundle-doc/org.apache.clerezza.utils.imageprocessing/imagereaderservice.rdf Wed Apr  3 18:37:39 2013
@@ -0,0 +1,23 @@
+<rdf:RDF
+    xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
+    xmlns:j.0="http://clerezza.org/2009/08/documentation#"
+    xmlns:j.1="http://discobits.org/ontology#" > 
+  <rdf:Description rdf:about="mvn:org.apache.clerezza/utils.imageprocessing/0.8-SNAPSHOT">
+    <j.0:documentation rdf:resource="http://incubator.apache.org/clerezza/bundle-doc/org.apache.clerezza.utils.imageprocessing/imagereaderservice"/>
+  </rdf:Description>
+  <rdf:Description rdf:nodeID="A0">
+    <j.1:holds rdf:resource="http://incubator.apache.org/clerezza/bundle-doc/org.apache.clerezza.utils.imageprocessing/imagereaderservice-title"/>
+    <rdf:type rdf:resource="http://discobits.org/ontology#Entry"/>
+    <j.1:pos>0</j.1:pos>
+  </rdf:Description>
+  <rdf:Description rdf:about="http://incubator.apache.org/clerezza/bundle-doc/org.apache.clerezza.utils.imageprocessing/imagereaderservice">
+    <rdf:type rdf:resource="http://discobits.org/ontology#TitledContent"/>
+    <j.1:contains rdf:nodeID="A0"/>
+    <j.1:contains rdf:nodeID="A1"/>
+  </rdf:Description>
+  <rdf:Description rdf:nodeID="A1">
+    <j.1:pos>1</j.1:pos>
+    <rdf:type rdf:resource="http://discobits.org/ontology#Entry"/>
+    <j.1:holds rdf:resource="http://incubator.apache.org/clerezza/bundle-doc/org.apache.clerezza.utils.imageprocessing/imagereaderservice-content"/>
+  </rdf:Description>
+</rdf:RDF>

Added: clerezza/site/production/bundle-doc/org.apache.clerezza.utils.imageprocessing/imagereaderservice.xhtml
URL: http://svn.apache.org/viewvc/clerezza/site/production/bundle-doc/org.apache.clerezza.utils.imageprocessing/imagereaderservice.xhtml?rev=1464148&view=auto
==============================================================================
--- clerezza/site/production/bundle-doc/org.apache.clerezza.utils.imageprocessing/imagereaderservice.xhtml (added)
+++ clerezza/site/production/bundle-doc/org.apache.clerezza.utils.imageprocessing/imagereaderservice.xhtml Wed Apr  3 18:37:39 2013
@@ -0,0 +1,171 @@
+<html xmlns="http://www.w3.org/1999/xhtml">
+					<head>
+						<link type="text/css" href="/clerezza/style/style.css" rel="stylesheet"/>
+						<title>Image Reader Service
+</title>
+					</head>
+					<body>
+						<div class="zz-header">
+
+							<div class="bar"></div>
+							<div class="logo">
+								<a href="http://incubator.apache.org/clerezza/" style=""><img src="/clerezza/images/logo.png" alt="logo"/></a>
+							</div>
+						</div>
+						<div class="column nav">
+							<ul>
+								<li class="top-nav-entry"><div class="title">Documentation</div>
+
+									<ul class="nav-entries">
+										<li><a href="/clerezza/getting-started/">Getting Started</a></li>
+										<li><a href="/clerezza/architecture/">The Apache Clerezza Stack</a></li>
+										<li><a href="http://incubator.apache.org/clerezza/mvn-site" target="_blank">API docs</a></li>
+										<li><a href="/clerezza/faq/">FAQ</a></li>
+									</ul>
+								</li>
+
+								<li class="top-nav-entry"><div class="title">Project Infos</div>
+									<ul class="nav-entries">
+										<li><a href="/clerezza/downloads/">Downloads</a></li>
+										<li><a href="/clerezza/contributing/">Contributing</a></li>
+										<li><a href="http://www.apache.org/licenses/" target="_blank">License</a></li>
+										<li><a href="/clerezza/mailinglists/">Mailing lists</a></li>
+										<li><a href="http://issues.apache.org/jira/browse/CLEREZZA" target="_blank">Issue Tracker</a></li>
+
+										<li><a href="http://svn.apache.org/viewvc/incubator/clerezza/trunk/" target="_blank">Source Repository</a></li>
+									</ul>
+								</li>
+								<li class="top-nav-entry"><div class="title">Sponsorship</div>
+									<ul class="nav-entries">
+										<li><a href="/clerezza/thanks/">Thanks</a></li>
+										<li><a href="http://www.apache.org/foundation/sponsorship.html" target="_blank">Become a Sponsor</a></li>
+										<li><a href="http://www.apache.org/foundation/buy_stuff.html" target="_blank">Buy Stuff</a></li>
+									</ul>
+								</li>
+							</ul>
+						</div>
+
+						<div class="zz-content">
+							<h1>Image Reader Service
+</h1>
+<div class="tx-content">
+
+	<div>
+
+	<div>Purpose
+</div>
+
+	<div><p xmlns="http://www.w3.org/1999/xhtml">
+By default the Clerezza Platform uses javax.imageio to read image data. However there are at least two scenarios when users may want to change that. 
+</p>
+<ol xmlns="http://www.w3.org/1999/xhtml">
+<li>When reading images that ImageIO does not support (different image formats or image formats that may be considered corrupt by ImageIO)</li>
+<li>When wanting to improve image processing performance.</li>
+</ol>
+<p xmlns="http://www.w3.org/1999/xhtml">
+A major difficulty in resolving these problems is that normally there is no way other than changing source code and recompiling to make existing services use a different method of reading images. With the introduction of the ImageReaderService all Clerezza Platform components have been changed to use the ImageReaderService when obtaining BufferedImages. This service dynamically looks up services that implement the ImageReader interface in the OSGi SCR (Service Component Runtime) and provides the service that is registered with the highest service.ranking property. By default the Clerezza Platform has only one ImageReader service registered that has a service ranking of 0 and reads images using javax.imageio. The ImageReaderService implement the ImageReader interface as well but delegates all calls to the highest ranking registered ImageReader.
+</p>
+</div>
+
+</div>
+
+	<div><h2>How to use the ImageReaderService
+</h2>
+<div class="tx-content"><p xmlns="http://www.w3.org/1999/xhtml">
+You can bind the ImageReaderService in an OSGi component by referencing it:
+</p>
+
+<div class="tx-blockcode" xmlns="http://www.w3.org/1999/xhtml"><pre>
+@Reference
+private ImageReaderService imageReaderService;
+</pre></div>
+
+<p xmlns="http://www.w3.org/1999/xhtml">
+Then you can either call the getImageReader() method to obtain the highest ranking ImageReader registered or use one of the getBufferedImage methods that will delegate to the highest ranking ImageReader.
+</p>
+
+</div>
+</div>
+
+	<div><h2>How to register a custom ImageRead
+</h2>
+<div class="tx-content"><p xmlns="http://www.w3.org/1999/xhtml">
+To register a custom ImageReader with service ranking of 1 (default is 0) you need to create a bundle providing an ImageReader service as follows:
+</p>
+
+<div class="tx-blockcode" xmlns="http://www.w3.org/1999/xhtml"><pre>
+@Component
+@Service(ImageReader.class)
+@Property(name=Constants.SERVICE_RANKING, intValue=1)
+public class BetterImageReader implements ImageReader {
+    // ...
+}
+</pre></div>
+
+<p xmlns="http://www.w3.org/1999/xhtml">
+When the component metaType is declared true and the service.ranking property is declared non-private, the service.ranking can by dynamically configured at runtime in the Felix Web Console.
+</p>
+
+<div class="tx-blockcode" xmlns="http://www.w3.org/1999/xhtml"><pre>
+@Component(metatype=true)
+@Service(ImageReader.class)
+@Property(name=Constants.SERVICE_RANKING, intValue=1, propertyPrivate=false)
+public class BetterImageReader implements ImageReader {
+    // ...
+}</pre></div>
+</div>
+</div>
+
+</div>
+
+						</div>
+						<div class="footer">
+							<div class="logos"><img src="/clerezza/images/feather.png"/><img src="/clerezza/images/sw-vert-w3c.png"/><img src="/clerezza/images/footer-logo.png"/></div>
+
+							<div class="divider"></div>
+							<div class="dark">
+								<div class="sitemap">
+									<div class="sitemap-title">Sitemap</div>
+									<div class="sitemap-content">
+										<div class="sitemap-column">
+											<div class="title">Documentation</div>
+											<ul>
+
+												<li><a href="/clerezza/getting-started/">Getting Started</a></li>
+												<li><a href="/clerezza/architecture/">The Apache Clerezza Stack</a></li>
+												<li><a href="http://incubator.apache.org/clerezza/mvn-site" target="_blank">API docs</a></li>
+												<li><a href="/clerezza/faq/">FAQ</a></li>
+											</ul>
+
+										</div>
+										<div class="sitemap-column">
+
+											<div class="title">Project Infos</div>
+											<ul>
+												<li><a href="/clerezza/downloads/">Downloads</a></li>
+												<li><a href="/clerezza/contributing/">Contributing</a></li>
+												<li><a href="http://www.apache.org/licenses/" target="_blank">License</a></li>
+												<li><a href="mailinglists/">Mailing lists</a></li>
+												<li><a href="http://issues.apache.org/jira/browse/CLEREZZA" target="_blank">Issue Tracker</a></li>
+
+												<li><a href="http://svn.apache.org/viewvc/incubator/clerezza/trunk/" target="_blank">Source Repository</a></li>
+											</ul>
+										</div>
+										<div class="sitemap-column">
+											<div class="title">Sponsorship</div>
+											<ul>
+												<li><a href="/clerezza/thanks/">Thanks</a></li>
+												<li><a href="http://www.apache.org/foundation/sponsorship.html" target="_blank">Become a Sponsor</a></li>
+												<li><a href="http://www.apache.org/foundation/buy_stuff.html" target="_blank">Buy Stuff</a></li>
+											</ul>
+										</div>
+									</div>
+
+								</div>
+								<div class="copyright">Apache Clerezza, Clerezza, Apache, the Apache feather logo, and the Apache Clerezza project logo are trademarks of The Apache Software Foundation. <br></br>© 2011 The Apache Software Foundation.</div>
+							</div>
+						</div>
+
+
+					</body>
+				</html>
\ No newline at end of file



Mime
View raw message