[exo-jcr-commits] exo-jcr SVN: r657 - jcr/branches/1.12.0-JBC/component/core/src/main/java/org/exoplatform/services/jcr/impl/storage/jbosscache.

do-not-reply at jboss.org do-not-reply at jboss.org
Fri Nov 13 09:16:59 EST 2009


Author: areshetnyak
Date: 2009-11-13 09:16:59 -0500 (Fri, 13 Nov 2009)
New Revision: 657

Modified:
   jcr/branches/1.12.0-JBC/component/core/src/main/java/org/exoplatform/services/jcr/impl/storage/jbosscache/JDBCCacheLoader.java
Log:
EXOJCR-201 : The JDBCCacheLoader was changed.

Modified: jcr/branches/1.12.0-JBC/component/core/src/main/java/org/exoplatform/services/jcr/impl/storage/jbosscache/JDBCCacheLoader.java
===================================================================
--- jcr/branches/1.12.0-JBC/component/core/src/main/java/org/exoplatform/services/jcr/impl/storage/jbosscache/JDBCCacheLoader.java	2009-11-13 14:16:48 UTC (rev 656)
+++ jcr/branches/1.12.0-JBC/component/core/src/main/java/org/exoplatform/services/jcr/impl/storage/jbosscache/JDBCCacheLoader.java	2009-11-13 14:16:59 UTC (rev 657)
@@ -455,8 +455,7 @@
     */
    public Object put(Fqn name, Object key, Object value) throws Exception
    {
-      // TODO Auto-generated method stub
-      return null;
+      throw new JDBCCacheLoaderException("The method 'put(Fqn name, Object key, Object value))' should not be called.");
    }
 
    /**
@@ -464,8 +463,7 @@
     */
    public void put(Fqn name, Map<Object, Object> attributes) throws Exception
    {
-      // TODO Auto-generated method stub
-
+      throw new JDBCCacheLoaderException("The method 'put(Fqn name, Map<Object, Object> attributes)' should not be called.");
    }
 
    /**
@@ -473,8 +471,7 @@
     */
    public Object remove(Fqn fqn, Object key) throws Exception
    {
-      // TODO Auto-generated method stub
-      return null;
+      throw new JDBCCacheLoaderException("The method 'remove(Fqn fqn, Object key)' should not be called.");
    }
 
    /**
@@ -482,8 +479,7 @@
     */
    public void remove(Fqn fqn) throws Exception
    {
-      // TODO Auto-generated method stub
-
+      throw new JDBCCacheLoaderException("The method 'remove(Fqn fqn)' should not be called.");
    }
 
    /**
@@ -491,8 +487,7 @@
     */
    public void removeData(Fqn fqn) throws Exception
    {
-      // TODO Auto-generated method stub
-
+      throw new JDBCCacheLoaderException("The method 'removeData(Fqn fqn)' should not be called.");
    }
 
    /**



More information about the exo-jcr-commits mailing list