chemistry-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gabri...@apache.org
Subject svn commit: r1486839 [4/6] - in /chemistry/site/trunk/content/java/0.9.0/maven/chemistry-opencmis-bridge: ./ chemistry-opencmis-bridge/ chemistry-opencmis-bridge/css/ chemistry-opencmis-bridge/images/ chemistry-opencmis-bridge/images/logos/ chemistry-o...
Date Tue, 28 May 2013 09:50:49 GMT
Added: chemistry/site/trunk/content/java/0.9.0/maven/chemistry-opencmis-bridge/chemistry-opencmis-bridge/team-list.html
URL: http://svn.apache.org/viewvc/chemistry/site/trunk/content/java/0.9.0/maven/chemistry-opencmis-bridge/chemistry-opencmis-bridge/team-list.html?rev=1486839&view=auto
==============================================================================
--- chemistry/site/trunk/content/java/0.9.0/maven/chemistry-opencmis-bridge/chemistry-opencmis-bridge/team-list.html (added)
+++ chemistry/site/trunk/content/java/0.9.0/maven/chemistry-opencmis-bridge/chemistry-opencmis-bridge/team-list.html Tue May 28 09:50:47 2013
@@ -0,0 +1,155 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<!-- Generated by Apache Maven Doxia Site Renderer 1.3 at May 28, 2013 -->
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+  <head>
+    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+    <title>OpenCMIS Bridge WAR packaging - Team list</title>
+    <style type="text/css" media="all">
+      @import url("./css/maven-base.css");
+      @import url("./css/maven-theme.css");
+      @import url("./css/site.css");
+    </style>
+    <link rel="stylesheet" href="./css/print.css" type="text/css" media="print" />
+    <meta name="Date-Revision-yyyymmdd" content="20130528" />
+    <meta http-equiv="Content-Language" content="en" />
+        
+        </head>
+  <body class="composite">
+    <div id="banner">
+                                      <a href="../.." id="bannerLeft">
+                                                <img src="../../images/chemistry-logo.png" alt="Apache Chemistry OpenCMIS" />
+                </a>
+                              <a href="http://www.apache.org/" id="bannerRight">
+                                                <img src="../../images/apache-logo.gif" alt="The Apache Software Foundation" />
+                </a>
+            <div class="clear">
+        <hr/>
+      </div>
+    </div>
+    <div id="breadcrumbs">
+            
+                    
+                <div class="xleft">
+        <span id="publishDate">Last Published: 2013-05-28</span>
+                      </div>
+            <div class="xright">        
+                    
+                 <span id="projectVersion">Version: 0.9.0</span>
+      </div>
+      <div class="clear">
+        <hr/>
+      </div>
+    </div>
+    <div id="leftColumn">
+      <div id="navcolumn">
+             
+                    
+                                <h5>Parent Project</h5>
+                  <ul>
+                  <li class="none">
+                          <a href="../../index.html" title="Apache Chemistry OpenCMIS">Apache Chemistry OpenCMIS</a>
+            </li>
+          </ul>
+                       <h5>Project Documentation</h5>
+                  <ul>
+                                                                                                                                                                                                                                                                                                                        <li class="expanded">
+                          <a href="project-info.html" title="Project Information">Project Information</a>
+                    <ul>
+                      <li class="none">
+                          <a href="index.html" title="About">About</a>
+            </li>
+                      <li class="none">
+            <strong>Project Team</strong>
+          </li>
+                      <li class="none">
+                          <a href="dependency-info.html" title="Dependency Information">Dependency Information</a>
+            </li>
+                      <li class="none">
+                          <a href="plugins.html" title="Project Plugins">Project Plugins</a>
+            </li>
+                      <li class="none">
+                          <a href="integration.html" title="Continuous Integration">Continuous Integration</a>
+            </li>
+                      <li class="none">
+                          <a href="issue-tracking.html" title="Issue Tracking">Issue Tracking</a>
+            </li>
+                      <li class="none">
+                          <a href="source-repository.html" title="Source Repository">Source Repository</a>
+            </li>
+                      <li class="none">
+                          <a href="dependency-convergence.html" title="Dependency Convergence">Dependency Convergence</a>
+            </li>
+                      <li class="none">
+                          <a href="license.html" title="Project License">Project License</a>
+            </li>
+                      <li class="none">
+                          <a href="plugin-management.html" title="Plugin Management">Plugin Management</a>
+            </li>
+                      <li class="none">
+                          <a href="distribution-management.html" title="Distribution Management">Distribution Management</a>
+            </li>
+                      <li class="none">
+                          <a href="project-summary.html" title="Project Summary">Project Summary</a>
+            </li>
+                      <li class="none">
+                          <a href="mail-lists.html" title="Mailing Lists">Mailing Lists</a>
+            </li>
+                      <li class="none">
+                          <a href="dependencies.html" title="Dependencies">Dependencies</a>
+            </li>
+              </ul>
+        </li>
+                                                                    <li class="collapsed">
+                          <a href="project-reports.html" title="Project Reports">Project Reports</a>
+                  </li>
+          </ul>
+                       <h5>Chemistry</h5>
+                  <ul>
+                  <li class="none">
+                          <a href="../../.." title="Main Website">Main Website</a>
+            </li>
+          </ul>
+                                                                                                                               <a href="http://maven.apache.org/" title="Maven" class="poweredBy">
+        <img class="poweredBy"  alt="Maven" src="http://maven.apache.org/images/logos/maven-feather.png"     />
+      </a>
+                       
+                    
+            </div>
+    </div>
+    <div id="bodyColumn">
+      <div id="contentBox">
+        <div class="section"><h2>The Team<a name="The_Team"></a></h2><a name="The_Team"></a><p>A successful project requires many people to play many roles. Some members write code or documentation, while others are valuable as testers, submitting patches and suggestions.</p><p>The team is comprised of Members and Contributors. Members have direct access to the source of a project and actively evolve the code-base. Contributors improve the project through submission of patches and suggestions to the Members. The number of Contributors to the project is unbounded. Get involved today. All contributions to the project are greatly appreciated.</p><div class="section"><h3>Members<a name="Members"></a></h3><a name="Members"></a><p>The following is a list of developers with commit privileges that have directly contributed to the project in one way or another.</p><table border="0" class="bodyTable"><tr class="a"><th>Image</th><th>Id</th><th>Name</th><th>Email</th><th>Roles</th><th>T
 ime Zone</th><th>Actual Time (GMT)</th></tr><tr class="b"><td><img src="http://www.gravatar.com/avatar/00000000000000000000000000000000?d=blank&amp;f=y&amp;s=60" alt="" /></td><td><a name="fmui"></a>fmui</td><td>Florian M&#xfc;ller</td><td>-</td><td>committer</td><td>-</td><td><span id="developer-0">-</span></td></tr><tr class="a"><td><img src="http://www.gravatar.com/avatar/00000000000000000000000000000000?d=blank&amp;f=y&amp;s=60" alt="" /></td><td><a name="jenshuebel"></a>jenshuebel</td><td>Jens H&#xfc;bel</td><td>-</td><td>committer</td><td>-</td><td><span id="developer-1">-</span></td></tr><tr class="b"><td><img src="http://www.gravatar.com/avatar/00000000000000000000000000000000?d=blank&amp;f=y&amp;s=60" alt="" /></td><td><a name="dward"></a>dward</td><td>David Ward</td><td>-</td><td>committer</td><td>-</td><td><span id="developer-2">-</span></td></tr><tr class="a"><td><img src="http://www.gravatar.com/avatar/42959a6ce550ca92c2c7912890715449?d=mm&amp;s=60" alt="" /></t
 d><td><a name="klevenzs"></a>klevenzs</td><td>Stephan Klevenz</td><td><a class="externalLink" href="mailto:sklevenz@apache.org">sklevenz@apache.org</a></td><td>committer</td><td>CET</td><td><span id="developer-3">CET</span></td></tr><tr class="b"><td><img src="http://www.gravatar.com/avatar/00000000000000000000000000000000?d=blank&amp;f=y&amp;s=60" alt="" /></td><td><a name="hermesm"></a>hermesm</td><td>Martin Hermes</td><td>-</td><td>committer</td><td>-</td><td><span id="developer-4">-</span></td></tr><tr class="a"><td><img src="http://www.gravatar.com/avatar/00000000000000000000000000000000?d=blank&amp;f=y&amp;s=60" alt="" /></td><td><a name="paulgoetz"></a>paulgoetz</td><td>Paul Goetz</td><td>-</td><td>committer</td><td>-</td><td><span id="developer-5">-</span></td></tr><tr class="b"><td><img src="http://www.gravatar.com/avatar/00000000000000000000000000000000?d=blank&amp;f=y&amp;s=60" alt="" /></td><td><a name="dcaruana"></a>dcaruana</td><td>David Caruana</td><td>-</td><
 td>committer</td><td>-</td><td><span id="developer-6">-</span></td></tr><tr class="a"><td><img src="http://www.gravatar.com/avatar/9fdd1f2ea859ecdb396a5c92e4045b2c?d=mm&amp;s=60" alt="" /></td><td><a name="gabriele"></a>gabriele</td><td>Gabriele Columbro</td><td><a class="externalLink" href="mailto:gabriele@apache.org">gabriele@apache.org</a></td><td>release manager</td><td>-</td><td><span id="developer-7">-</span></td></tr><tr class="b"><td><img src="http://www.gravatar.com/avatar/00000000000000000000000000000000?d=blank&amp;f=y&amp;s=60" alt="" /></td><td><a name="fguillaume"></a>fguillaume</td><td>Florent Guillaume</td><td>-</td><td>committer</td><td>-</td><td><span id="developer-8">-</span></td></tr><tr class="a"><td><img src="http://www.gravatar.com/avatar/00000000000000000000000000000000?d=blank&amp;f=y&amp;s=60" alt="" /></td><td><a name="sfermigier"></a>sfermigier</td><td>Stefane Fermigier</td><td>-</td><td>committer</td><td>-</td><td><span id="developer-9">-</span><
 /td></tr><tr class="b"><td><img src="http://www.gravatar.com/avatar/00000000000000000000000000000000?d=blank&amp;f=y&amp;s=60" alt="" /></td><td><a name="jmpascal"></a>jmpascal</td><td>Jean Marie Pascal</td><td>-</td><td>committer</td><td>-</td><td><span id="developer-10">-</span></td></tr></table></div><div class="section"><h3>Contributors<a name="Contributors"></a></h3><a name="Contributors"></a><p>There are no contributors listed for this project. Please check back again later.</p><script type="text/javascript">
+function offsetDate(id, offset) {
+    var now = new Date();
+    var nowTime = now.getTime();
+    var localOffset = now.getTimezoneOffset();
+    var developerTime = nowTime + ( offset * 60 * 60 * 1000 )+ ( localOffset * 60 * 1000 );
+    var developerDate = new Date(developerTime);
+
+    document.getElementById(id).innerHTML = developerDate;
+}
+
+function init(){
+    offsetDate('developer-3', '1');
+}
+
+window.onLoad = init();
+</script></div></div>
+      </div>
+    </div>
+    <div class="clear">
+      <hr/>
+    </div>
+    <div id="footer">
+      <div class="xright">
+              Copyright &#169;                    2009-2013
+                        <a href="http://www.apache.org/">The Apache Software Foundation</a>.
+            All Rights Reserved.      
+                    
+                  </div>
+      <div class="clear">
+        <hr/>
+      </div>
+    </div>
+  </body>
+</html>

Added: chemistry/site/trunk/content/java/0.9.0/maven/chemistry-opencmis-bridge/chemistry-opencmis-bridge/xref/allclasses-frame.html
URL: http://svn.apache.org/viewvc/chemistry/site/trunk/content/java/0.9.0/maven/chemistry-opencmis-bridge/chemistry-opencmis-bridge/xref/allclasses-frame.html?rev=1486839&view=auto
==============================================================================
--- chemistry/site/trunk/content/java/0.9.0/maven/chemistry-opencmis-bridge/chemistry-opencmis-bridge/xref/allclasses-frame.html (added)
+++ chemistry/site/trunk/content/java/0.9.0/maven/chemistry-opencmis-bridge/chemistry-opencmis-bridge/xref/allclasses-frame.html Tue May 28 09:50:47 2013
@@ -0,0 +1,47 @@
+
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "DTD/xhtml1-transitional.dtd">
+<html xml:lang="en" lang="en">
+	<head>
+		<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
+		<title>All Classes</title>
+		<link rel="stylesheet" type="text/css" href="stylesheet.css" title="style" />
+    </head>
+    <body>
+
+		<h3>All Classes</h3>
+
+		<ul>
+						<li>
+				<a href="org/apache/chemistry/opencmis/bridge/AbstractBridgeServiceFactory.html" target="classFrame">AbstractBridgeServiceFactory</a>
+			</li>
+						<li>
+				<a href="org/apache/chemistry/opencmis/bridge/CachedBindingCmisService.html" target="classFrame">CachedBindingCmisService</a>
+			</li>
+						<li>
+				<a href="org/apache/chemistry/opencmis/bridge/lrucache/CmisBindingCache.html" target="classFrame">CmisBindingCache</a>
+			</li>
+						<li>
+				<a href="org/apache/chemistry/opencmis/bridge/FilterCmisService.html" target="classFrame">FilterCmisService</a>
+			</li>
+						<li>
+				<a href="org/apache/chemistry/opencmis/bridge/httpsession/HttpSessionBridgeServiceFactory.html" target="classFrame">HttpSessionBridgeServiceFactory</a>
+			</li>
+						<li>
+				<a href="org/apache/chemistry/opencmis/bridge/httpsession/HttpSessionCmisService.html" target="classFrame">HttpSessionCmisService</a>
+			</li>
+						<li>
+				<a href="org/apache/chemistry/opencmis/bridge/lrucache/LruCacheBridgeServiceFactory.html" target="classFrame">LruCacheBridgeServiceFactory</a>
+			</li>
+						<li>
+				<a href="org/apache/chemistry/opencmis/bridge/lrucache/LruCacheCmisService.html" target="classFrame">LruCacheCmisService</a>
+			</li>
+						<li>
+				<a href="org/apache/chemistry/opencmis/bridge/client/SimpleCmisBindingFactory.html" target="classFrame">SimpleCmisBindingFactory</a>
+			</li>
+						<li>
+				<a href="org/apache/chemistry/opencmis/bridge/httpsession/sample/SimpleForwardingCmisService.html" target="classFrame">SimpleForwardingCmisService</a>
+			</li>
+			      </ul>
+
+    </body>
+  </html>

Added: chemistry/site/trunk/content/java/0.9.0/maven/chemistry-opencmis-bridge/chemistry-opencmis-bridge/xref/index.html
URL: http://svn.apache.org/viewvc/chemistry/site/trunk/content/java/0.9.0/maven/chemistry-opencmis-bridge/chemistry-opencmis-bridge/xref/index.html?rev=1486839&view=auto
==============================================================================
--- chemistry/site/trunk/content/java/0.9.0/maven/chemistry-opencmis-bridge/chemistry-opencmis-bridge/xref/index.html (added)
+++ chemistry/site/trunk/content/java/0.9.0/maven/chemistry-opencmis-bridge/chemistry-opencmis-bridge/xref/index.html Tue May 28 09:50:47 2013
@@ -0,0 +1,24 @@
+
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN" "DTD/xhtml1-frameset.dtd">
+<html xml:lang="en" lang="en">
+	<head>
+		<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
+		<title>OpenCMIS Bridge WAR packaging 0.9.0 Reference</title>
+	</head>
+    <frameset cols="20%,80%">
+		<frameset rows="30%,70%">
+			<frame src="overview-frame.html" name="packageListFrame" />
+			<frame src="allclasses-frame.html" name="packageFrame" />
+		</frameset>
+		<frame src="overview-summary.html" name="classFrame" />
+        <noframes>
+            <body>
+                <h1>Frame Alert</h1>
+                <p>
+                    You don't have frames. Go <a href="overview-summary.html">here</a>
+                </p>
+            </body>
+        </noframes>
+    </frameset>
+</html>
+

Added: chemistry/site/trunk/content/java/0.9.0/maven/chemistry-opencmis-bridge/chemistry-opencmis-bridge/xref/org/apache/chemistry/opencmis/bridge/AbstractBridgeServiceFactory.html
URL: http://svn.apache.org/viewvc/chemistry/site/trunk/content/java/0.9.0/maven/chemistry-opencmis-bridge/chemistry-opencmis-bridge/xref/org/apache/chemistry/opencmis/bridge/AbstractBridgeServiceFactory.html?rev=1486839&view=auto
==============================================================================
--- chemistry/site/trunk/content/java/0.9.0/maven/chemistry-opencmis-bridge/chemistry-opencmis-bridge/xref/org/apache/chemistry/opencmis/bridge/AbstractBridgeServiceFactory.html (added)
+++ chemistry/site/trunk/content/java/0.9.0/maven/chemistry-opencmis-bridge/chemistry-opencmis-bridge/xref/org/apache/chemistry/opencmis/bridge/AbstractBridgeServiceFactory.html Tue May 28 09:50:47 2013
@@ -0,0 +1,178 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
+<title>AbstractBridgeServiceFactory xref</title>
+<link type="text/css" rel="stylesheet" href="../../../../../stylesheet.css" />
+</head>
+<body>
+<div id="overview"><a href="../../../../../../apidocs/org/apache/chemistry/opencmis/bridge/AbstractBridgeServiceFactory.html">View Javadoc</a></div><pre>
+
+<a class="jxr_linenumber" name="1" href="#1">1</a>   <em class="jxr_comment">/*</em>
+<a class="jxr_linenumber" name="2" href="#2">2</a>   <em class="jxr_comment"> * Licensed to the Apache Software Foundation (ASF) under one</em>
+<a class="jxr_linenumber" name="3" href="#3">3</a>   <em class="jxr_comment"> * or more contributor license agreements.  See the NOTICE file</em>
+<a class="jxr_linenumber" name="4" href="#4">4</a>   <em class="jxr_comment"> * distributed with this work for additional information</em>
+<a class="jxr_linenumber" name="5" href="#5">5</a>   <em class="jxr_comment"> * regarding copyright ownership.  The ASF licenses this file</em>
+<a class="jxr_linenumber" name="6" href="#6">6</a>   <em class="jxr_comment"> * to you under the Apache License, Version 2.0 (the</em>
+<a class="jxr_linenumber" name="7" href="#7">7</a>   <em class="jxr_comment"> * "License"); you may not use this file except in compliance</em>
+<a class="jxr_linenumber" name="8" href="#8">8</a>   <em class="jxr_comment"> * with the License.  You may obtain a copy of the License at</em>
+<a class="jxr_linenumber" name="9" href="#9">9</a>   <em class="jxr_comment"> *</em>
+<a class="jxr_linenumber" name="10" href="#10">10</a>  <em class="jxr_comment"> * <a href="http://www.apache.org/licenses/LICENSE-2.0" target="alexandria_uri">http://www.apache.org/licenses/LICENSE-2.0</a></em>
+<a class="jxr_linenumber" name="11" href="#11">11</a>  <em class="jxr_comment"> *</em>
+<a class="jxr_linenumber" name="12" href="#12">12</a>  <em class="jxr_comment"> * Unless required by applicable law or agreed to in writing,</em>
+<a class="jxr_linenumber" name="13" href="#13">13</a>  <em class="jxr_comment"> * software distributed under the License is distributed on an</em>
+<a class="jxr_linenumber" name="14" href="#14">14</a>  <em class="jxr_comment"> * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY</em>
+<a class="jxr_linenumber" name="15" href="#15">15</a>  <em class="jxr_comment"> * KIND, either express or implied.  See the License for the</em>
+<a class="jxr_linenumber" name="16" href="#16">16</a>  <em class="jxr_comment"> * specific language governing permissions and limitations</em>
+<a class="jxr_linenumber" name="17" href="#17">17</a>  <em class="jxr_comment"> * under the License.</em>
+<a class="jxr_linenumber" name="18" href="#18">18</a>  <em class="jxr_comment"> */</em>
+<a class="jxr_linenumber" name="19" href="#19">19</a>  <strong class="jxr_keyword">package</strong> org.apache.chemistry.opencmis.bridge;
+<a class="jxr_linenumber" name="20" href="#20">20</a>  
+<a class="jxr_linenumber" name="21" href="#21">21</a>  <strong class="jxr_keyword">import</strong> java.io.File;
+<a class="jxr_linenumber" name="22" href="#22">22</a>  <strong class="jxr_keyword">import</strong> java.math.BigInteger;
+<a class="jxr_linenumber" name="23" href="#23">23</a>  <strong class="jxr_keyword">import</strong> java.util.Map;
+<a class="jxr_linenumber" name="24" href="#24">24</a>  
+<a class="jxr_linenumber" name="25" href="#25">25</a>  <strong class="jxr_keyword">import</strong> org.apache.chemistry.opencmis.commons.impl.ClassLoaderUtil;
+<a class="jxr_linenumber" name="26" href="#26">26</a>  <strong class="jxr_keyword">import</strong> org.apache.chemistry.opencmis.commons.impl.server.AbstractServiceFactory;
+<a class="jxr_linenumber" name="27" href="#27">27</a>  <strong class="jxr_keyword">import</strong> org.apache.chemistry.opencmis.commons.server.CallContext;
+<a class="jxr_linenumber" name="28" href="#28">28</a>  <strong class="jxr_keyword">import</strong> org.apache.chemistry.opencmis.commons.server.CmisService;
+<a class="jxr_linenumber" name="29" href="#29">29</a>  <strong class="jxr_keyword">import</strong> org.apache.chemistry.opencmis.server.support.CmisServiceWrapper;
+<a class="jxr_linenumber" name="30" href="#30">30</a>  
+<a class="jxr_linenumber" name="31" href="#31">31</a>  <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">abstract</strong> <strong class="jxr_keyword">class</strong> <a href="../../../../../org/apache/chemistry/opencmis/bridge/AbstractBridgeServiceFactory.html">AbstractBridgeServiceFactory</a> <strong class="jxr_keyword">extends</strong> AbstractServiceFactory {
+<a class="jxr_linenumber" name="32" href="#32">32</a>  
+<a class="jxr_linenumber" name="33" href="#33">33</a>      <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">final</strong> String BRIDGE_TEMP_DIRECTORY = <span class="jxr_string">"bridge.tempDirectory"</span>;
+<a class="jxr_linenumber" name="34" href="#34">34</a>      <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">final</strong> String BRIDGE_MEMORY_THERESHOLD = <span class="jxr_string">"bridge.memoryThreshold"</span>;
+<a class="jxr_linenumber" name="35" href="#35">35</a>      <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">final</strong> String BRIDGE_MAX_CONTENT_SIZE = <span class="jxr_string">"bridge.maxContentSize"</span>;
+<a class="jxr_linenumber" name="36" href="#36">36</a>  
+<a class="jxr_linenumber" name="37" href="#37">37</a>      <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">final</strong> String SERVICE_CLASS = <span class="jxr_string">"service.class"</span>;
+<a class="jxr_linenumber" name="38" href="#38">38</a>      <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">final</strong> String SERVICE_DEFAULT_MAX_ITEMS_OBJECTS = <span class="jxr_string">"service.defaultMaxItems"</span>;
+<a class="jxr_linenumber" name="39" href="#39">39</a>      <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">final</strong> String SERVICE_DEFAULT_DEPTH_OBJECTS = <span class="jxr_string">"service.defaultDepth"</span>;
+<a class="jxr_linenumber" name="40" href="#40">40</a>      <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">final</strong> String SERVICE_DEFAULT_MAX_ITEMS_TYPES = <span class="jxr_string">"service.defaultTypesMaxItems"</span>;
+<a class="jxr_linenumber" name="41" href="#41">41</a>      <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">final</strong> String SERVICE_DEFAULT_DEPTH_TYPES = <span class="jxr_string">"service.defaultTypesDepth"</span>;
+<a class="jxr_linenumber" name="42" href="#42">42</a>  
+<a class="jxr_linenumber" name="43" href="#43">43</a>      <strong class="jxr_keyword">private</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">final</strong> BigInteger DEFAULT_MAX_ITEMS_OBJECTS = BigInteger.valueOf(100000);
+<a class="jxr_linenumber" name="44" href="#44">44</a>      <strong class="jxr_keyword">private</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">final</strong> BigInteger DEFAULT_DEPTH_OBJECTS = BigInteger.valueOf(100);
+<a class="jxr_linenumber" name="45" href="#45">45</a>      <strong class="jxr_keyword">private</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">final</strong> BigInteger DEFAULT_MAX_ITEMS_TYPES = BigInteger.valueOf(1000);
+<a class="jxr_linenumber" name="46" href="#46">46</a>      <strong class="jxr_keyword">private</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">final</strong> BigInteger DEFAULT_DEPTH_TYPES = BigInteger.valueOf(10);
+<a class="jxr_linenumber" name="47" href="#47">47</a>  
+<a class="jxr_linenumber" name="48" href="#48">48</a>      <strong class="jxr_keyword">private</strong> ThreadLocal&lt;CmisServiceWrapper&lt;FilterCmisService&gt;&gt; threadLocalService = <strong class="jxr_keyword">new</strong> ThreadLocal&lt;CmisServiceWrapper&lt;FilterCmisService&gt;&gt;();
+<a class="jxr_linenumber" name="49" href="#49">49</a>  
+<a class="jxr_linenumber" name="50" href="#50">50</a>      <strong class="jxr_keyword">private</strong> Map&lt;String, String&gt; parameters;
+<a class="jxr_linenumber" name="51" href="#51">51</a>  
+<a class="jxr_linenumber" name="52" href="#52">52</a>      <strong class="jxr_keyword">private</strong> Class&lt;?&gt; serviceClass;
+<a class="jxr_linenumber" name="53" href="#53">53</a>  
+<a class="jxr_linenumber" name="54" href="#54">54</a>      <strong class="jxr_keyword">private</strong> BigInteger defaultMaxItems;
+<a class="jxr_linenumber" name="55" href="#55">55</a>      <strong class="jxr_keyword">private</strong> BigInteger defaultDepth;
+<a class="jxr_linenumber" name="56" href="#56">56</a>      <strong class="jxr_keyword">private</strong> BigInteger defaultTypesMaxItems;
+<a class="jxr_linenumber" name="57" href="#57">57</a>      <strong class="jxr_keyword">private</strong> BigInteger defaultTypesDepth;
+<a class="jxr_linenumber" name="58" href="#58">58</a>  
+<a class="jxr_linenumber" name="59" href="#59">59</a>      <strong class="jxr_keyword">private</strong> File tempDirectory;
+<a class="jxr_linenumber" name="60" href="#60">60</a>      <strong class="jxr_keyword">private</strong> <strong class="jxr_keyword">int</strong> memoryThreshold;
+<a class="jxr_linenumber" name="61" href="#61">61</a>      <strong class="jxr_keyword">private</strong> <strong class="jxr_keyword">long</strong> maxContentSize;
+<a class="jxr_linenumber" name="62" href="#62">62</a>  
+<a class="jxr_linenumber" name="63" href="#63">63</a>      @Override
+<a class="jxr_linenumber" name="64" href="#64">64</a>      <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">void</strong> init(Map&lt;String, String&gt; parameters) {
+<a class="jxr_linenumber" name="65" href="#65">65</a>          <strong class="jxr_keyword">this</strong>.parameters = parameters;
+<a class="jxr_linenumber" name="66" href="#66">66</a>  
+<a class="jxr_linenumber" name="67" href="#67">67</a>          <em class="jxr_comment">// get bridge configuration</em>
+<a class="jxr_linenumber" name="68" href="#68">68</a>          String tempDirectoryStr = parameters.get(BRIDGE_TEMP_DIRECTORY);
+<a class="jxr_linenumber" name="69" href="#69">69</a>          tempDirectory = (tempDirectoryStr == <strong class="jxr_keyword">null</strong> || tempDirectoryStr.trim().length() == 0 ? <strong class="jxr_keyword">super</strong>.getTempDirectory()
+<a class="jxr_linenumber" name="70" href="#70">70</a>                  : <strong class="jxr_keyword">new</strong> File(tempDirectoryStr.trim()));
+<a class="jxr_linenumber" name="71" href="#71">71</a>  
+<a class="jxr_linenumber" name="72" href="#72">72</a>          <strong class="jxr_keyword">try</strong> {
+<a class="jxr_linenumber" name="73" href="#73">73</a>              String memoryThresholdStr = parameters.get(BRIDGE_MEMORY_THERESHOLD);
+<a class="jxr_linenumber" name="74" href="#74">74</a>              memoryThreshold = (memoryThresholdStr == <strong class="jxr_keyword">null</strong> || memoryThresholdStr.trim().length() == 0 ? <strong class="jxr_keyword">super</strong>
+<a class="jxr_linenumber" name="75" href="#75">75</a>                      .getMemoryThreshold() : Integer.parseInt(memoryThresholdStr.trim()));
+<a class="jxr_linenumber" name="76" href="#76">76</a>  
+<a class="jxr_linenumber" name="77" href="#77">77</a>              String maxContentSizeStr = parameters.get(BRIDGE_MAX_CONTENT_SIZE);
+<a class="jxr_linenumber" name="78" href="#78">78</a>              maxContentSize = (maxContentSizeStr == <strong class="jxr_keyword">null</strong> || maxContentSizeStr.trim().length() == 0 ? <strong class="jxr_keyword">super</strong>
+<a class="jxr_linenumber" name="79" href="#79">79</a>                      .getMaxContentSize() : Long.parseLong(maxContentSizeStr.trim()));
+<a class="jxr_linenumber" name="80" href="#80">80</a>          } <strong class="jxr_keyword">catch</strong> (NumberFormatException e) {
+<a class="jxr_linenumber" name="81" href="#81">81</a>              <strong class="jxr_keyword">throw</strong> <strong class="jxr_keyword">new</strong> RuntimeException(<span class="jxr_string">"Could not parse bride configuration values: "</span> + e.getMessage(), e);
+<a class="jxr_linenumber" name="82" href="#82">82</a>          }
+<a class="jxr_linenumber" name="83" href="#83">83</a>  
+<a class="jxr_linenumber" name="84" href="#84">84</a>          <em class="jxr_comment">// find service class</em>
+<a class="jxr_linenumber" name="85" href="#85">85</a>          String className = parameters.get(SERVICE_CLASS);
+<a class="jxr_linenumber" name="86" href="#86">86</a>          <strong class="jxr_keyword">if</strong> (className == <strong class="jxr_keyword">null</strong> || className.trim().length() == 0) {
+<a class="jxr_linenumber" name="87" href="#87">87</a>              <strong class="jxr_keyword">throw</strong> <strong class="jxr_keyword">new</strong> RuntimeException(<span class="jxr_string">"Service class name is not set!"</span>);
+<a class="jxr_linenumber" name="88" href="#88">88</a>          }
+<a class="jxr_linenumber" name="89" href="#89">89</a>  
+<a class="jxr_linenumber" name="90" href="#90">90</a>          <strong class="jxr_keyword">try</strong> {
+<a class="jxr_linenumber" name="91" href="#91">91</a>              serviceClass = ClassLoaderUtil.loadClass(className);
+<a class="jxr_linenumber" name="92" href="#92">92</a>          } <strong class="jxr_keyword">catch</strong> (ClassNotFoundException e) {
+<a class="jxr_linenumber" name="93" href="#93">93</a>              <strong class="jxr_keyword">throw</strong> <strong class="jxr_keyword">new</strong> RuntimeException(<span class="jxr_string">"Service class name cannot be found: "</span> + e.getMessage(), e);
+<a class="jxr_linenumber" name="94" href="#94">94</a>          }
+<a class="jxr_linenumber" name="95" href="#95">95</a>  
+<a class="jxr_linenumber" name="96" href="#96">96</a>          <strong class="jxr_keyword">if</strong> (serviceClass.isAssignableFrom(FilterCmisService.<strong class="jxr_keyword">class</strong>)) {
+<a class="jxr_linenumber" name="97" href="#97">97</a>              <strong class="jxr_keyword">throw</strong> <strong class="jxr_keyword">new</strong> RuntimeException(<span class="jxr_string">"Service class is not a sub class of FilterCmisService!"</span>);
+<a class="jxr_linenumber" name="98" href="#98">98</a>          }
+<a class="jxr_linenumber" name="99" href="#99">99</a>  
+<a class="jxr_linenumber" name="100" href="#100">100</a>         <em class="jxr_comment">// get service defaults</em>
+<a class="jxr_linenumber" name="101" href="#101">101</a>         <strong class="jxr_keyword">try</strong> {
+<a class="jxr_linenumber" name="102" href="#102">102</a>             defaultMaxItems = getBigIntegerParameter(SERVICE_DEFAULT_MAX_ITEMS_OBJECTS, DEFAULT_MAX_ITEMS_OBJECTS);
+<a class="jxr_linenumber" name="103" href="#103">103</a>             defaultDepth = getBigIntegerParameter(SERVICE_DEFAULT_DEPTH_OBJECTS, DEFAULT_DEPTH_OBJECTS);
+<a class="jxr_linenumber" name="104" href="#104">104</a>             defaultTypesMaxItems = getBigIntegerParameter(SERVICE_DEFAULT_MAX_ITEMS_TYPES, DEFAULT_MAX_ITEMS_TYPES);
+<a class="jxr_linenumber" name="105" href="#105">105</a>             defaultTypesDepth = getBigIntegerParameter(SERVICE_DEFAULT_DEPTH_TYPES, DEFAULT_DEPTH_TYPES);
+<a class="jxr_linenumber" name="106" href="#106">106</a>         } <strong class="jxr_keyword">catch</strong> (NumberFormatException e) {
+<a class="jxr_linenumber" name="107" href="#107">107</a>             <strong class="jxr_keyword">throw</strong> <strong class="jxr_keyword">new</strong> RuntimeException(<span class="jxr_string">"Could not parse service default values: "</span> + e.getMessage(), e);
+<a class="jxr_linenumber" name="108" href="#108">108</a>         }
+<a class="jxr_linenumber" name="109" href="#109">109</a>     }
+<a class="jxr_linenumber" name="110" href="#110">110</a> 
+<a class="jxr_linenumber" name="111" href="#111">111</a>     @Override
+<a class="jxr_linenumber" name="112" href="#112">112</a>     <strong class="jxr_keyword">public</strong> CmisService getService(CallContext context) {
+<a class="jxr_linenumber" name="113" href="#113">113</a>         CmisServiceWrapper&lt;FilterCmisService&gt; wrapperService = threadLocalService.get();
+<a class="jxr_linenumber" name="114" href="#114">114</a>         <strong class="jxr_keyword">if</strong> (wrapperService == <strong class="jxr_keyword">null</strong>) {
+<a class="jxr_linenumber" name="115" href="#115">115</a>             wrapperService = <strong class="jxr_keyword">new</strong> CmisServiceWrapper&lt;FilterCmisService&gt;(createService(context), defaultTypesMaxItems,
+<a class="jxr_linenumber" name="116" href="#116">116</a>                     defaultTypesDepth, defaultMaxItems, defaultDepth);
+<a class="jxr_linenumber" name="117" href="#117">117</a>             threadLocalService.set(wrapperService);
+<a class="jxr_linenumber" name="118" href="#118">118</a>         }
+<a class="jxr_linenumber" name="119" href="#119">119</a> 
+<a class="jxr_linenumber" name="120" href="#120">120</a>         wrapperService.getWrappedService().setCallContext(context);
+<a class="jxr_linenumber" name="121" href="#121">121</a> 
+<a class="jxr_linenumber" name="122" href="#122">122</a>         <strong class="jxr_keyword">return</strong> wrapperService;
+<a class="jxr_linenumber" name="123" href="#123">123</a>     }
+<a class="jxr_linenumber" name="124" href="#124">124</a> 
+<a class="jxr_linenumber" name="125" href="#125">125</a>     <em class="jxr_javadoccomment">/**</em>
+<a class="jxr_linenumber" name="126" href="#126">126</a> <em class="jxr_javadoccomment">     * Creates a new service instance.</em>
+<a class="jxr_linenumber" name="127" href="#127">127</a> <em class="jxr_javadoccomment">     */</em>
+<a class="jxr_linenumber" name="128" href="#128">128</a>     <strong class="jxr_keyword">protected</strong> <strong class="jxr_keyword">abstract</strong> <a href="../../../../../org/apache/chemistry/opencmis/bridge/FilterCmisService.html">FilterCmisService</a> createService(CallContext context);
+<a class="jxr_linenumber" name="129" href="#129">129</a> 
+<a class="jxr_linenumber" name="130" href="#130">130</a>     <strong class="jxr_keyword">protected</strong> Class&lt;?&gt; getServiceClass() {
+<a class="jxr_linenumber" name="131" href="#131">131</a>         <strong class="jxr_keyword">return</strong> serviceClass;
+<a class="jxr_linenumber" name="132" href="#132">132</a>     }
+<a class="jxr_linenumber" name="133" href="#133">133</a> 
+<a class="jxr_linenumber" name="134" href="#134">134</a>     <strong class="jxr_keyword">protected</strong> Map&lt;String, String&gt; getParameters() {
+<a class="jxr_linenumber" name="135" href="#135">135</a>         <strong class="jxr_keyword">return</strong> parameters;
+<a class="jxr_linenumber" name="136" href="#136">136</a>     }
+<a class="jxr_linenumber" name="137" href="#137">137</a> 
+<a class="jxr_linenumber" name="138" href="#138">138</a>     @Override
+<a class="jxr_linenumber" name="139" href="#139">139</a>     <strong class="jxr_keyword">public</strong> File getTempDirectory() {
+<a class="jxr_linenumber" name="140" href="#140">140</a>         <strong class="jxr_keyword">return</strong> tempDirectory;
+<a class="jxr_linenumber" name="141" href="#141">141</a>     }
+<a class="jxr_linenumber" name="142" href="#142">142</a> 
+<a class="jxr_linenumber" name="143" href="#143">143</a>     @Override
+<a class="jxr_linenumber" name="144" href="#144">144</a>     <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">int</strong> getMemoryThreshold() {
+<a class="jxr_linenumber" name="145" href="#145">145</a>         <strong class="jxr_keyword">return</strong> memoryThreshold;
+<a class="jxr_linenumber" name="146" href="#146">146</a>     }
+<a class="jxr_linenumber" name="147" href="#147">147</a> 
+<a class="jxr_linenumber" name="148" href="#148">148</a>     @Override
+<a class="jxr_linenumber" name="149" href="#149">149</a>     <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">long</strong> getMaxContentSize() {
+<a class="jxr_linenumber" name="150" href="#150">150</a>         <strong class="jxr_keyword">return</strong> maxContentSize;
+<a class="jxr_linenumber" name="151" href="#151">151</a>     }
+<a class="jxr_linenumber" name="152" href="#152">152</a> 
+<a class="jxr_linenumber" name="153" href="#153">153</a>     <em class="jxr_javadoccomment">/**</em>
+<a class="jxr_linenumber" name="154" href="#154">154</a> <em class="jxr_javadoccomment">     * Gets a BigInteger parameter from the parameters.</em>
+<a class="jxr_linenumber" name="155" href="#155">155</a> <em class="jxr_javadoccomment">     */</em>
+<a class="jxr_linenumber" name="156" href="#156">156</a>     <strong class="jxr_keyword">protected</strong> BigInteger getBigIntegerParameter(String key, BigInteger def) {
+<a class="jxr_linenumber" name="157" href="#157">157</a>         String value = parameters.get(key);
+<a class="jxr_linenumber" name="158" href="#158">158</a>         <strong class="jxr_keyword">if</strong> (value == <strong class="jxr_keyword">null</strong> || value.trim().length() == 0) {
+<a class="jxr_linenumber" name="159" href="#159">159</a>             <strong class="jxr_keyword">return</strong> def;
+<a class="jxr_linenumber" name="160" href="#160">160</a>         }
+<a class="jxr_linenumber" name="161" href="#161">161</a> 
+<a class="jxr_linenumber" name="162" href="#162">162</a>         <strong class="jxr_keyword">return</strong> <strong class="jxr_keyword">new</strong> BigInteger(value);
+<a class="jxr_linenumber" name="163" href="#163">163</a>     }
+<a class="jxr_linenumber" name="164" href="#164">164</a> }
+</pre>
+<hr/><div id="footer">This page was automatically generated by <a href="http://maven.apache.org/">Maven</a></div></body>
+</html>
+

Added: chemistry/site/trunk/content/java/0.9.0/maven/chemistry-opencmis-bridge/chemistry-opencmis-bridge/xref/org/apache/chemistry/opencmis/bridge/CachedBindingCmisService.html
URL: http://svn.apache.org/viewvc/chemistry/site/trunk/content/java/0.9.0/maven/chemistry-opencmis-bridge/chemistry-opencmis-bridge/xref/org/apache/chemistry/opencmis/bridge/CachedBindingCmisService.html?rev=1486839&view=auto
==============================================================================
--- chemistry/site/trunk/content/java/0.9.0/maven/chemistry-opencmis-bridge/chemistry-opencmis-bridge/xref/org/apache/chemistry/opencmis/bridge/CachedBindingCmisService.html (added)
+++ chemistry/site/trunk/content/java/0.9.0/maven/chemistry-opencmis-bridge/chemistry-opencmis-bridge/xref/org/apache/chemistry/opencmis/bridge/CachedBindingCmisService.html Tue May 28 09:50:47 2013
@@ -0,0 +1,155 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
+<title>CachedBindingCmisService xref</title>
+<link type="text/css" rel="stylesheet" href="../../../../../stylesheet.css" />
+</head>
+<body>
+<div id="overview"><a href="../../../../../../apidocs/org/apache/chemistry/opencmis/bridge/CachedBindingCmisService.html">View Javadoc</a></div><pre>
+
+<a class="jxr_linenumber" name="1" href="#1">1</a>   <em class="jxr_comment">/*</em>
+<a class="jxr_linenumber" name="2" href="#2">2</a>   <em class="jxr_comment"> * Licensed to the Apache Software Foundation (ASF) under one</em>
+<a class="jxr_linenumber" name="3" href="#3">3</a>   <em class="jxr_comment"> * or more contributor license agreements.  See the NOTICE file</em>
+<a class="jxr_linenumber" name="4" href="#4">4</a>   <em class="jxr_comment"> * distributed with this work for additional information</em>
+<a class="jxr_linenumber" name="5" href="#5">5</a>   <em class="jxr_comment"> * regarding copyright ownership.  The ASF licenses this file</em>
+<a class="jxr_linenumber" name="6" href="#6">6</a>   <em class="jxr_comment"> * to you under the Apache License, Version 2.0 (the</em>
+<a class="jxr_linenumber" name="7" href="#7">7</a>   <em class="jxr_comment"> * "License"); you may not use this file except in compliance</em>
+<a class="jxr_linenumber" name="8" href="#8">8</a>   <em class="jxr_comment"> * with the License.  You may obtain a copy of the License at</em>
+<a class="jxr_linenumber" name="9" href="#9">9</a>   <em class="jxr_comment"> *</em>
+<a class="jxr_linenumber" name="10" href="#10">10</a>  <em class="jxr_comment"> * <a href="http://www.apache.org/licenses/LICENSE-2.0" target="alexandria_uri">http://www.apache.org/licenses/LICENSE-2.0</a></em>
+<a class="jxr_linenumber" name="11" href="#11">11</a>  <em class="jxr_comment"> *</em>
+<a class="jxr_linenumber" name="12" href="#12">12</a>  <em class="jxr_comment"> * Unless required by applicable law or agreed to in writing,</em>
+<a class="jxr_linenumber" name="13" href="#13">13</a>  <em class="jxr_comment"> * software distributed under the License is distributed on an</em>
+<a class="jxr_linenumber" name="14" href="#14">14</a>  <em class="jxr_comment"> * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY</em>
+<a class="jxr_linenumber" name="15" href="#15">15</a>  <em class="jxr_comment"> * KIND, either express or implied.  See the License for the</em>
+<a class="jxr_linenumber" name="16" href="#16">16</a>  <em class="jxr_comment"> * specific language governing permissions and limitations</em>
+<a class="jxr_linenumber" name="17" href="#17">17</a>  <em class="jxr_comment"> * under the License.</em>
+<a class="jxr_linenumber" name="18" href="#18">18</a>  <em class="jxr_comment"> */</em>
+<a class="jxr_linenumber" name="19" href="#19">19</a>  <strong class="jxr_keyword">package</strong> org.apache.chemistry.opencmis.bridge;
+<a class="jxr_linenumber" name="20" href="#20">20</a>  
+<a class="jxr_linenumber" name="21" href="#21">21</a>  <strong class="jxr_keyword">import</strong> javax.servlet.http.HttpServletRequest;
+<a class="jxr_linenumber" name="22" href="#22">22</a>  
+<a class="jxr_linenumber" name="23" href="#23">23</a>  <strong class="jxr_keyword">import</strong> org.apache.chemistry.opencmis.commons.server.CallContext;
+<a class="jxr_linenumber" name="24" href="#24">24</a>  <strong class="jxr_keyword">import</strong> org.apache.chemistry.opencmis.commons.spi.AclService;
+<a class="jxr_linenumber" name="25" href="#25">25</a>  <strong class="jxr_keyword">import</strong> org.apache.chemistry.opencmis.commons.spi.CmisBinding;
+<a class="jxr_linenumber" name="26" href="#26">26</a>  <strong class="jxr_keyword">import</strong> org.apache.chemistry.opencmis.commons.spi.DiscoveryService;
+<a class="jxr_linenumber" name="27" href="#27">27</a>  <strong class="jxr_keyword">import</strong> org.apache.chemistry.opencmis.commons.spi.MultiFilingService;
+<a class="jxr_linenumber" name="28" href="#28">28</a>  <strong class="jxr_keyword">import</strong> org.apache.chemistry.opencmis.commons.spi.NavigationService;
+<a class="jxr_linenumber" name="29" href="#29">29</a>  <strong class="jxr_keyword">import</strong> org.apache.chemistry.opencmis.commons.spi.ObjectService;
+<a class="jxr_linenumber" name="30" href="#30">30</a>  <strong class="jxr_keyword">import</strong> org.apache.chemistry.opencmis.commons.spi.PolicyService;
+<a class="jxr_linenumber" name="31" href="#31">31</a>  <strong class="jxr_keyword">import</strong> org.apache.chemistry.opencmis.commons.spi.RelationshipService;
+<a class="jxr_linenumber" name="32" href="#32">32</a>  <strong class="jxr_keyword">import</strong> org.apache.chemistry.opencmis.commons.spi.RepositoryService;
+<a class="jxr_linenumber" name="33" href="#33">33</a>  <strong class="jxr_keyword">import</strong> org.apache.chemistry.opencmis.commons.spi.VersioningService;
+<a class="jxr_linenumber" name="34" href="#34">34</a>  
+<a class="jxr_linenumber" name="35" href="#35">35</a>  <em class="jxr_javadoccomment">/**</em>
+<a class="jxr_linenumber" name="36" href="#36">36</a>  <em class="jxr_javadoccomment"> * Provides a framework to cache a {@link CmisBinding} object for a</em>
+<a class="jxr_linenumber" name="37" href="#37">37</a>  <em class="jxr_javadoccomment"> * {@link FilterCmisService}.</em>
+<a class="jxr_linenumber" name="38" href="#38">38</a>  <em class="jxr_javadoccomment"> */</em>
+<a class="jxr_linenumber" name="39" href="#39">39</a>  <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">abstract</strong> <strong class="jxr_keyword">class</strong> <a href="../../../../../org/apache/chemistry/opencmis/bridge/CachedBindingCmisService.html">CachedBindingCmisService</a> <strong class="jxr_keyword">extends</strong> <a href="../../../../../org/apache/chemistry/opencmis/bridge/FilterCmisService.html">FilterCmisService</a> {
+<a class="jxr_linenumber" name="40" href="#40">40</a>  
+<a class="jxr_linenumber" name="41" href="#41">41</a>      <strong class="jxr_keyword">private</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">final</strong> <strong class="jxr_keyword">long</strong> serialVersionUID = 1L;
+<a class="jxr_linenumber" name="42" href="#42">42</a>  
+<a class="jxr_linenumber" name="43" href="#43">43</a>      <strong class="jxr_keyword">private</strong> CmisBinding clientBinding;
+<a class="jxr_linenumber" name="44" href="#44">44</a>  
+<a class="jxr_linenumber" name="45" href="#45">45</a>      @Override
+<a class="jxr_linenumber" name="46" href="#46">46</a>      <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">void</strong> setCallContext(CallContext context) {
+<a class="jxr_linenumber" name="47" href="#47">47</a>          <strong class="jxr_keyword">super</strong>.setCallContext(context);
+<a class="jxr_linenumber" name="48" href="#48">48</a>  
+<a class="jxr_linenumber" name="49" href="#49">49</a>          clientBinding = getCmisBindingFromCache();
+<a class="jxr_linenumber" name="50" href="#50">50</a>          <strong class="jxr_keyword">if</strong> (clientBinding == <strong class="jxr_keyword">null</strong>) {
+<a class="jxr_linenumber" name="51" href="#51">51</a>              clientBinding = putCmisBindingIntoCache(createCmisBinding());
+<a class="jxr_linenumber" name="52" href="#52">52</a>          }
+<a class="jxr_linenumber" name="53" href="#53">53</a>      }
+<a class="jxr_linenumber" name="54" href="#54">54</a>  
+<a class="jxr_linenumber" name="55" href="#55">55</a>      <em class="jxr_javadoccomment">/**</em>
+<a class="jxr_linenumber" name="56" href="#56">56</a>  <em class="jxr_javadoccomment">     * Returns a cached {@link CmisBinding} object or &lt;code&gt;null&lt;/code&gt; if no</em>
+<a class="jxr_linenumber" name="57" href="#57">57</a>  <em class="jxr_javadoccomment">     * appropriate object can be found in the cache.</em>
+<a class="jxr_linenumber" name="58" href="#58">58</a>  <em class="jxr_javadoccomment">     */</em>
+<a class="jxr_linenumber" name="59" href="#59">59</a>      <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">abstract</strong> CmisBinding getCmisBindingFromCache();
+<a class="jxr_linenumber" name="60" href="#60">60</a>  
+<a class="jxr_linenumber" name="61" href="#61">61</a>      <em class="jxr_javadoccomment">/**</em>
+<a class="jxr_linenumber" name="62" href="#62">62</a>  <em class="jxr_javadoccomment">     * Puts the provided {@link CmisBinding} object into the cache and</em>
+<a class="jxr_linenumber" name="63" href="#63">63</a>  <em class="jxr_javadoccomment">     * associates it somehow with the current {@link CallContext}.</em>
+<a class="jxr_linenumber" name="64" href="#64">64</a>  <em class="jxr_javadoccomment">     * </em>
+<a class="jxr_linenumber" name="65" href="#65">65</a>  <em class="jxr_javadoccomment">     * The implementation may return another {@link CmisBinding} object if</em>
+<a class="jxr_linenumber" name="66" href="#66">66</a>  <em class="jxr_javadoccomment">     * another thread has already added an object for the current</em>
+<a class="jxr_linenumber" name="67" href="#67">67</a>  <em class="jxr_javadoccomment">     * {@link CallContext}.</em>
+<a class="jxr_linenumber" name="68" href="#68">68</a>  <em class="jxr_javadoccomment">     */</em>
+<a class="jxr_linenumber" name="69" href="#69">69</a>      <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">abstract</strong> CmisBinding putCmisBindingIntoCache(CmisBinding binding);
+<a class="jxr_linenumber" name="70" href="#70">70</a>  
+<a class="jxr_linenumber" name="71" href="#71">71</a>      <em class="jxr_javadoccomment">/**</em>
+<a class="jxr_linenumber" name="72" href="#72">72</a>  <em class="jxr_javadoccomment">     * Creates a new {@link CmisBinding} object based on the current</em>
+<a class="jxr_linenumber" name="73" href="#73">73</a>  <em class="jxr_javadoccomment">     * {@link CallContext}.</em>
+<a class="jxr_linenumber" name="74" href="#74">74</a>  <em class="jxr_javadoccomment">     */</em>
+<a class="jxr_linenumber" name="75" href="#75">75</a>      <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">abstract</strong> CmisBinding createCmisBinding();
+<a class="jxr_linenumber" name="76" href="#76">76</a>  
+<a class="jxr_linenumber" name="77" href="#77">77</a>      <em class="jxr_javadoccomment">/**</em>
+<a class="jxr_linenumber" name="78" href="#78">78</a>  <em class="jxr_javadoccomment">     * Returns the current {@link CmisBinding} object.</em>
+<a class="jxr_linenumber" name="79" href="#79">79</a>  <em class="jxr_javadoccomment">     */</em>
+<a class="jxr_linenumber" name="80" href="#80">80</a>      <strong class="jxr_keyword">public</strong> CmisBinding getCmisBinding() {
+<a class="jxr_linenumber" name="81" href="#81">81</a>          <strong class="jxr_keyword">return</strong> clientBinding;
+<a class="jxr_linenumber" name="82" href="#82">82</a>      }
+<a class="jxr_linenumber" name="83" href="#83">83</a>  
+<a class="jxr_linenumber" name="84" href="#84">84</a>      <em class="jxr_javadoccomment">/**</em>
+<a class="jxr_linenumber" name="85" href="#85">85</a>  <em class="jxr_javadoccomment">     * Returns the current {@link HttpServletRequest}.</em>
+<a class="jxr_linenumber" name="86" href="#86">86</a>  <em class="jxr_javadoccomment">     */</em>
+<a class="jxr_linenumber" name="87" href="#87">87</a>      <strong class="jxr_keyword">public</strong> HttpServletRequest getHttpServletRequest() {
+<a class="jxr_linenumber" name="88" href="#88">88</a>          <strong class="jxr_keyword">return</strong> (HttpServletRequest) getCallContext().get(CallContext.HTTP_SERVLET_REQUEST);
+<a class="jxr_linenumber" name="89" href="#89">89</a>      }
+<a class="jxr_linenumber" name="90" href="#90">90</a>  
+<a class="jxr_linenumber" name="91" href="#91">91</a>      @Override
+<a class="jxr_linenumber" name="92" href="#92">92</a>      <strong class="jxr_keyword">public</strong> RepositoryService getRepositoryService() {
+<a class="jxr_linenumber" name="93" href="#93">93</a>          <strong class="jxr_keyword">return</strong> clientBinding.getRepositoryService();
+<a class="jxr_linenumber" name="94" href="#94">94</a>      }
+<a class="jxr_linenumber" name="95" href="#95">95</a>  
+<a class="jxr_linenumber" name="96" href="#96">96</a>      @Override
+<a class="jxr_linenumber" name="97" href="#97">97</a>      <strong class="jxr_keyword">public</strong> NavigationService getNavigationService() {
+<a class="jxr_linenumber" name="98" href="#98">98</a>          <strong class="jxr_keyword">return</strong> clientBinding.getNavigationService();
+<a class="jxr_linenumber" name="99" href="#99">99</a>      }
+<a class="jxr_linenumber" name="100" href="#100">100</a> 
+<a class="jxr_linenumber" name="101" href="#101">101</a>     @Override
+<a class="jxr_linenumber" name="102" href="#102">102</a>     <strong class="jxr_keyword">public</strong> ObjectService getObjectService() {
+<a class="jxr_linenumber" name="103" href="#103">103</a>         <strong class="jxr_keyword">return</strong> clientBinding.getObjectService();
+<a class="jxr_linenumber" name="104" href="#104">104</a>     }
+<a class="jxr_linenumber" name="105" href="#105">105</a> 
+<a class="jxr_linenumber" name="106" href="#106">106</a>     @Override
+<a class="jxr_linenumber" name="107" href="#107">107</a>     <strong class="jxr_keyword">public</strong> VersioningService getVersioningService() {
+<a class="jxr_linenumber" name="108" href="#108">108</a>         <strong class="jxr_keyword">return</strong> clientBinding.getVersioningService();
+<a class="jxr_linenumber" name="109" href="#109">109</a>     }
+<a class="jxr_linenumber" name="110" href="#110">110</a> 
+<a class="jxr_linenumber" name="111" href="#111">111</a>     @Override
+<a class="jxr_linenumber" name="112" href="#112">112</a>     <strong class="jxr_keyword">public</strong> DiscoveryService getDiscoveryService() {
+<a class="jxr_linenumber" name="113" href="#113">113</a>         <strong class="jxr_keyword">return</strong> clientBinding.getDiscoveryService();
+<a class="jxr_linenumber" name="114" href="#114">114</a>     }
+<a class="jxr_linenumber" name="115" href="#115">115</a> 
+<a class="jxr_linenumber" name="116" href="#116">116</a>     @Override
+<a class="jxr_linenumber" name="117" href="#117">117</a>     <strong class="jxr_keyword">public</strong> MultiFilingService getMultiFilingService() {
+<a class="jxr_linenumber" name="118" href="#118">118</a>         <strong class="jxr_keyword">return</strong> clientBinding.getMultiFilingService();
+<a class="jxr_linenumber" name="119" href="#119">119</a>     }
+<a class="jxr_linenumber" name="120" href="#120">120</a> 
+<a class="jxr_linenumber" name="121" href="#121">121</a>     @Override
+<a class="jxr_linenumber" name="122" href="#122">122</a>     <strong class="jxr_keyword">public</strong> RelationshipService getRelationshipService() {
+<a class="jxr_linenumber" name="123" href="#123">123</a>         <strong class="jxr_keyword">return</strong> clientBinding.getRelationshipService();
+<a class="jxr_linenumber" name="124" href="#124">124</a>     }
+<a class="jxr_linenumber" name="125" href="#125">125</a> 
+<a class="jxr_linenumber" name="126" href="#126">126</a>     @Override
+<a class="jxr_linenumber" name="127" href="#127">127</a>     <strong class="jxr_keyword">public</strong> AclService getAclService() {
+<a class="jxr_linenumber" name="128" href="#128">128</a>         <strong class="jxr_keyword">return</strong> clientBinding.getAclService();
+<a class="jxr_linenumber" name="129" href="#129">129</a>     }
+<a class="jxr_linenumber" name="130" href="#130">130</a> 
+<a class="jxr_linenumber" name="131" href="#131">131</a>     @Override
+<a class="jxr_linenumber" name="132" href="#132">132</a>     <strong class="jxr_keyword">public</strong> PolicyService getPolicyService() {
+<a class="jxr_linenumber" name="133" href="#133">133</a>         <strong class="jxr_keyword">return</strong> clientBinding.getPolicyService();
+<a class="jxr_linenumber" name="134" href="#134">134</a>     }
+<a class="jxr_linenumber" name="135" href="#135">135</a> 
+<a class="jxr_linenumber" name="136" href="#136">136</a>     @Override
+<a class="jxr_linenumber" name="137" href="#137">137</a>     <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">void</strong> close() {
+<a class="jxr_linenumber" name="138" href="#138">138</a>         <strong class="jxr_keyword">super</strong>.close();
+<a class="jxr_linenumber" name="139" href="#139">139</a>         clientBinding = <strong class="jxr_keyword">null</strong>;
+<a class="jxr_linenumber" name="140" href="#140">140</a>     }
+<a class="jxr_linenumber" name="141" href="#141">141</a> }
+</pre>
+<hr/><div id="footer">This page was automatically generated by <a href="http://maven.apache.org/">Maven</a></div></body>
+</html>
+



Mime
View raw message