jackrabbit-oak-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From chet...@apache.org
Subject svn commit: r1522562 - /jackrabbit/oak/trunk/oak-jcr/src/main/java/org/apache/jackrabbit/oak/jcr/repository/RepositoryImpl.java
Date Thu, 12 Sep 2013 13:15:04 GMT
Author: chetanm
Date: Thu Sep 12 13:15:04 2013
New Revision: 1522562

URL: http://svn.apache.org/r1522562
Log:
OAK-1014 - Allow customization of repository descriptors

Allow subclass to access the descriptors

Modified:
    jackrabbit/oak/trunk/oak-jcr/src/main/java/org/apache/jackrabbit/oak/jcr/repository/RepositoryImpl.java

Modified: jackrabbit/oak/trunk/oak-jcr/src/main/java/org/apache/jackrabbit/oak/jcr/repository/RepositoryImpl.java
URL: http://svn.apache.org/viewvc/jackrabbit/oak/trunk/oak-jcr/src/main/java/org/apache/jackrabbit/oak/jcr/repository/RepositoryImpl.java?rev=1522562&r1=1522561&r2=1522562&view=diff
==============================================================================
--- jackrabbit/oak/trunk/oak-jcr/src/main/java/org/apache/jackrabbit/oak/jcr/repository/RepositoryImpl.java
(original)
+++ jackrabbit/oak/trunk/oak-jcr/src/main/java/org/apache/jackrabbit/oak/jcr/repository/RepositoryImpl.java
Thu Sep 12 13:15:04 2013
@@ -244,7 +244,15 @@ public class RepositoryImpl implements J
         return new Descriptors(new SimpleValueFactory());
     }
 
-    //------------------------------------------------------------< private >---
+    /**
+     * Returns the descriptors associated with the repository
+     * @return repository descriptor
+     */
+    protected Descriptors getDescriptors() {
+        return descriptors;
+    }
+
+//------------------------------------------------------------< private >---
 
     private static Long getRefreshInterval(Credentials credentials) {
         if (credentials instanceof SimpleCredentials) {



Mime
View raw message