incubator-sling-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bdelacre...@apache.org
Subject svn commit: r631551 - /incubator/sling/trunk/jcr/base/src/main/java/org/apache/sling/jcr/base/util/RepositoryAccessor.java
Date Wed, 27 Feb 2008 11:00:15 GMT
Author: bdelacretaz
Date: Wed Feb 27 03:00:11 2008
New Revision: 631551

URL: http://svn.apache.org/viewvc?rev=631551&view=rev
Log:
log message when JDNI repository does not implement the required interfaces

Modified:
    incubator/sling/trunk/jcr/base/src/main/java/org/apache/sling/jcr/base/util/RepositoryAccessor.java

Modified: incubator/sling/trunk/jcr/base/src/main/java/org/apache/sling/jcr/base/util/RepositoryAccessor.java
URL: http://svn.apache.org/viewvc/incubator/sling/trunk/jcr/base/src/main/java/org/apache/sling/jcr/base/util/RepositoryAccessor.java?rev=631551&r1=631550&r2=631551&view=diff
==============================================================================
--- incubator/sling/trunk/jcr/base/src/main/java/org/apache/sling/jcr/base/util/RepositoryAccessor.java
(original)
+++ incubator/sling/trunk/jcr/base/src/main/java/org/apache/sling/jcr/base/util/RepositoryAccessor.java
Wed Feb 27 03:00:11 2008
@@ -84,6 +84,13 @@
                     LocalAdapterFactory laf = new ClientAdapterFactory();
                     result = laf.getRepository(remoteRepo);
                     log.info("Acquired RemoteRepository '" + repositoryName + "' via JNDI");
+                    
+                } else {
+                    log.info(
+                        "Repository '" + repositoryName + "' acquired via JDNI " 
+                        + "does not implement the required interfaces, class="
+                        + repoObject.getClass().getName()
+                    );
                 }
                 
             } catch (Throwable t) {



Mime
View raw message