jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From edgarp...@apache.org
Subject svn commit: r295140 - /incubator/jackrabbit/trunk/src/java/org/apache/jackrabbit/core/jndi/BindableRepository.java
Date Wed, 05 Oct 2005 23:31:07 GMT
Author: edgarpoce
Date: Wed Oct  5 16:30:56 2005
New Revision: 295140

URL: http://svn.apache.org/viewcvs?rev=295140&view=rev
Log:
 JCR-243 expose shutdown method in o.a.j.jndi.BindableRepository

Modified:
    incubator/jackrabbit/trunk/src/java/org/apache/jackrabbit/core/jndi/BindableRepository.java

Modified: incubator/jackrabbit/trunk/src/java/org/apache/jackrabbit/core/jndi/BindableRepository.java
URL: http://svn.apache.org/viewcvs/incubator/jackrabbit/trunk/src/java/org/apache/jackrabbit/core/jndi/BindableRepository.java?rev=295140&r1=295139&r2=295140&view=diff
==============================================================================
--- incubator/jackrabbit/trunk/src/java/org/apache/jackrabbit/core/jndi/BindableRepository.java
(original)
+++ incubator/jackrabbit/trunk/src/java/org/apache/jackrabbit/core/jndi/BindableRepository.java
Wed Oct  5 16:30:56 2005
@@ -53,7 +53,7 @@
  * {@link #create(String, String) create} method and during
  * serialization and JNDI "referenciation".
  */
-class BindableRepository implements Repository, Referenceable, Serializable {
+public class BindableRepository implements Repository, Referenceable, Serializable {
 
     /** The serialization UID of this class. */
     static final long serialVersionUID = -2298220550793843166L;
@@ -227,5 +227,12 @@
             // failed to reinstantiate repository
             throw new IOException(re.getMessage());
         }
+    }
+    
+    /**
+     * Delegated to the underlying repository instance.
+     */
+    public void shutdown() {
+    	((RepositoryImpl) delegatee).shutdown() ;
     }
 }



Mime
View raw message