[exo-jcr-commits] exo-jcr SVN: r1393 - jcr/branches/1.12.0-JBCCACHE/exo.jcr.component.core/src/main/java/org/exoplatform/services/jcr/impl.
do-not-reply at jboss.org
do-not-reply at jboss.org
Thu Jan 14 10:02:07 EST 2010
Author: areshetnyak
Date: 2010-01-14 10:02:07 -0500 (Thu, 14 Jan 2010)
New Revision: 1393
Modified:
jcr/branches/1.12.0-JBCCACHE/exo.jcr.component.core/src/main/java/org/exoplatform/services/jcr/impl/RepositoryContainer.java
Log:
EXOJCR-332 : The RepositoryContainer was fixed, CacheableLockManager.
Modified: jcr/branches/1.12.0-JBCCACHE/exo.jcr.component.core/src/main/java/org/exoplatform/services/jcr/impl/RepositoryContainer.java
===================================================================
--- jcr/branches/1.12.0-JBCCACHE/exo.jcr.component.core/src/main/java/org/exoplatform/services/jcr/impl/RepositoryContainer.java 2010-01-14 15:01:28 UTC (rev 1392)
+++ jcr/branches/1.12.0-JBCCACHE/exo.jcr.component.core/src/main/java/org/exoplatform/services/jcr/impl/RepositoryContainer.java 2010-01-14 15:02:07 UTC (rev 1393)
@@ -267,14 +267,14 @@
}
}
- /*if (wsConfig.getLockManager() != null)
+ if ( wsConfig.getLockManager() != null && wsConfig.getLockManager().getCacheConfig() != null)
{
workspaceContainer.registerComponentImplementation(CacheableLockManager.class);
}
else
- {*/
+ {
workspaceContainer.registerComponentImplementation(LockManagerImpl.class);
- /*}*/
+ }
// Query handler
if (wsConfig.getQueryHandler() != null)
More information about the exo-jcr-commits
mailing list