jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ang...@apache.org
Subject svn commit: r772993 - /jackrabbit/trunk/jackrabbit-jcr2spi/src/main/java/org/apache/jackrabbit/jcr2spi/SessionImpl.java
Date Fri, 08 May 2009 14:01:38 GMT
Author: angela
Date: Fri May  8 14:01:38 2009
New Revision: 772993

URL: http://svn.apache.org/viewvc?rev=772993&view=rev
Log:
JCR-2003: JCR2SPI / SPI: Add support for JCR 2.0
JCR-1104: JSR 283 support
javadoc

Modified:
    jackrabbit/trunk/jackrabbit-jcr2spi/src/main/java/org/apache/jackrabbit/jcr2spi/SessionImpl.java

Modified: jackrabbit/trunk/jackrabbit-jcr2spi/src/main/java/org/apache/jackrabbit/jcr2spi/SessionImpl.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-jcr2spi/src/main/java/org/apache/jackrabbit/jcr2spi/SessionImpl.java?rev=772993&r1=772992&r2=772993&view=diff
==============================================================================
--- jackrabbit/trunk/jackrabbit-jcr2spi/src/main/java/org/apache/jackrabbit/jcr2spi/SessionImpl.java
(original)
+++ jackrabbit/trunk/jackrabbit-jcr2spi/src/main/java/org/apache/jackrabbit/jcr2spi/SessionImpl.java
Fri May  8 14:01:38 2009
@@ -563,7 +563,7 @@
     public boolean hasCapability(String methodName, Object target, Map arguments)
             throws RepositoryException {
         // TODO: implementation missing
-        return true;
+        throw new UnsupportedRepositoryOperationException("JCR-1104");
     }
 
     /**
@@ -604,6 +604,9 @@
     }
 
     //--------------------------------------------------< NamespaceResolver >---
+    /**
+     * @see NamespaceResolver#getPrefix(String)
+     */
     public String getPrefix(String uri) throws NamespaceException {
         try {
             return getNamespacePrefix(uri);
@@ -614,6 +617,9 @@
         }
     }
 
+    /**
+     * @see NamespaceResolver#getURI(String) 
+     */
     public String getURI(String prefix) throws NamespaceException {
         try {
             return getNamespaceURI(prefix);



Mime
View raw message