You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@chemistry.apache.org by fm...@apache.org on 2011/03/22 01:20:26 UTC
svn commit: r1084035 - in /chemistry/site/trunk/content/java:
developing/dev-known-repo-issues.mdtext
developing/repositories/dev-repositories-jcr.mdtext download.mdtext
how-to/how-to-tune-perfomance.mdtext
Author: fmui
Date: Tue Mar 22 00:20:26 2011
New Revision: 1084035
URL: http://svn.apache.org/viewvc?rev=1084035&view=rev
Log:
more clean up
Modified:
chemistry/site/trunk/content/java/developing/dev-known-repo-issues.mdtext
chemistry/site/trunk/content/java/developing/repositories/dev-repositories-jcr.mdtext
chemistry/site/trunk/content/java/download.mdtext
chemistry/site/trunk/content/java/how-to/how-to-tune-perfomance.mdtext
Modified: chemistry/site/trunk/content/java/developing/dev-known-repo-issues.mdtext
URL: http://svn.apache.org/viewvc/chemistry/site/trunk/content/java/developing/dev-known-repo-issues.mdtext?rev=1084035&r1=1084034&r2=1084035&view=diff
==============================================================================
--- chemistry/site/trunk/content/java/developing/dev-known-repo-issues.mdtext (original)
+++ chemistry/site/trunk/content/java/developing/dev-known-repo-issues.mdtext Tue Mar 22 00:20:26 2011
@@ -8,7 +8,7 @@ of existing CMIS repositories.
TODO
-## Connecting to SharePoint 2010
+## SharePoint 2010
While connecting via AtomPub is straight forward, connecting via Web Services is a bit tricky.
@@ -24,9 +24,11 @@ Since this sends the password as plain t
1. Provide `file://`... URLs to the downloaded WSDL for all OpenCMIS WSDL session parameters.
1. Activate the OpenCMIS NTLM authentication provider.
+
+
:::java
parameters.put(SessionParameter.AUTHENTICATION_PROVIDER_CLASS, CmisBindingFactory.NTLM_AUTHENTICATION_PROVIDER);
(The NTLM authentication provider uses [java.net.Authenticator](http://download-llnw.oracle.com/javase/6/docs/api/java/net/Authenticator.html)
- under the hood. If this interferes with your environment, you are on your own.)
+ under the hood. If this interferes with your environment, you are on your own. Sorry!)
Modified: chemistry/site/trunk/content/java/developing/repositories/dev-repositories-jcr.mdtext
URL: http://svn.apache.org/viewvc/chemistry/site/trunk/content/java/developing/repositories/dev-repositories-jcr.mdtext?rev=1084035&r1=1084034&r2=1084035&view=diff
==============================================================================
--- chemistry/site/trunk/content/java/developing/repositories/dev-repositories-jcr.mdtext (original)
+++ chemistry/site/trunk/content/java/developing/repositories/dev-repositories-jcr.mdtext Tue Mar 22 00:20:26 2011
@@ -1,4 +1,5 @@
Title: OpenCMIS JCR Repository
+
# OpenCMIS JCR Repository
The OpenCMIS JCR Repository component is a bridge between the CMIS
@@ -10,4 +11,4 @@ available to CMIS clients.
The code is still under development, and changes should be expected
at any time. See [CMIS-325][] for the latest status.
-[CMIS-325]: https://issues.apache.org/jira/browse/CMIS-325
\ No newline at end of file
+[CMIS-315]: https://issues.apache.org/jira/browse/CMIS-315
\ No newline at end of file
Modified: chemistry/site/trunk/content/java/download.mdtext
URL: http://svn.apache.org/viewvc/chemistry/site/trunk/content/java/download.mdtext?rev=1084035&r1=1084034&r2=1084035&view=diff
==============================================================================
--- chemistry/site/trunk/content/java/download.mdtext (original)
+++ chemistry/site/trunk/content/java/download.mdtext Tue Mar 22 00:20:26 2011
@@ -51,5 +51,5 @@ OpenCMIS Sources | [Dow
[fileshare]: developing/repositories/dev-repositories-fileshare.html
[inmemory]: developing/repositories/dev-repositories-inmemory.html
[jcr]: developing/repositories/dev-repositories-jcr.html
-[cmisbrowser]: tools/dev-tools-browser.html
+[cmisbrowser]: developing/tools/dev-tools-browser.html
[workbench]: developing/tools/dev-tools-workbench.html
\ No newline at end of file
Modified: chemistry/site/trunk/content/java/how-to/how-to-tune-perfomance.mdtext
URL: http://svn.apache.org/viewvc/chemistry/site/trunk/content/java/how-to/how-to-tune-perfomance.mdtext?rev=1084035&r1=1084034&r2=1084035&view=diff
==============================================================================
--- chemistry/site/trunk/content/java/how-to/how-to-tune-perfomance.mdtext (original)
+++ chemistry/site/trunk/content/java/how-to/how-to-tune-perfomance.mdtext Tue Mar 22 00:20:26 2011
@@ -24,6 +24,8 @@ There are multiple ways to deal with tha
* Refresh the object data that is returned from `getObject()`:
+
+
:::java
CmisObject object = session.getObject(id);
object.refresh(); // contacts the repository and refreshes the object
@@ -32,12 +34,16 @@ There are multiple ways to deal with tha
* Turn off the session cache completely:
+
+
:::java
session.getDefaultContext().setCacheEnabled(false);
* Turn off caching for this `getObject()` call:
+
+
:::java
OperationContext oc = session.createOperationContext();
oc.setCacheEnabled(false);
@@ -47,5 +53,7 @@ There are multiple ways to deal with tha
* Clear the session cache (not recommended!):
+
+
:::java
session.clear();