jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From thom...@apache.org
Subject svn commit: r1133339 - in /jackrabbit/sandbox/microkernel/src/main/java/org/apache/jackrabbit/mk: api/MicroKernel.java mem/MemoryKernelImpl.java
Date Wed, 08 Jun 2011 10:54:00 GMT
Author: thomasm
Date: Wed Jun  8 10:53:59 2011
New Revision: 1133339

URL: http://svn.apache.org/viewvc?rev=1133339&view=rev
Log:
Add dispose() to the MicroKernel API (to be discussed)

Modified:
    jackrabbit/sandbox/microkernel/src/main/java/org/apache/jackrabbit/mk/api/MicroKernel.java
    jackrabbit/sandbox/microkernel/src/main/java/org/apache/jackrabbit/mk/mem/MemoryKernelImpl.java

Modified: jackrabbit/sandbox/microkernel/src/main/java/org/apache/jackrabbit/mk/api/MicroKernel.java
URL: http://svn.apache.org/viewvc/jackrabbit/sandbox/microkernel/src/main/java/org/apache/jackrabbit/mk/api/MicroKernel.java?rev=1133339&r1=1133338&r2=1133339&view=diff
==============================================================================
--- jackrabbit/sandbox/microkernel/src/main/java/org/apache/jackrabbit/mk/api/MicroKernel.java
(original)
+++ jackrabbit/sandbox/microkernel/src/main/java/org/apache/jackrabbit/mk/api/MicroKernel.java
Wed Jun  8 10:53:59 2011
@@ -324,4 +324,10 @@ public interface MicroKernel {
      * @throws MicroKernelException if an error occurs
      */
     String /* blobId */ write(InputStream in) throws MicroKernelException;
+
+    /**
+     * Dispose this instance.
+     */
+    void dispose();
+
 }

Modified: jackrabbit/sandbox/microkernel/src/main/java/org/apache/jackrabbit/mk/mem/MemoryKernelImpl.java
URL: http://svn.apache.org/viewvc/jackrabbit/sandbox/microkernel/src/main/java/org/apache/jackrabbit/mk/mem/MemoryKernelImpl.java?rev=1133339&r1=1133338&r2=1133339&view=diff
==============================================================================
--- jackrabbit/sandbox/microkernel/src/main/java/org/apache/jackrabbit/mk/mem/MemoryKernelImpl.java
(original)
+++ jackrabbit/sandbox/microkernel/src/main/java/org/apache/jackrabbit/mk/mem/MemoryKernelImpl.java
Wed Jun  8 10:53:59 2011
@@ -164,4 +164,8 @@ public class MemoryKernelImpl implements
         return ds.write(in);
     }
 
+    public void dispose() {
+        // nothing to do
+    }
+
 }



Mime
View raw message