db-derby-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From d..@apache.org
Subject svn commit: r375816 - in /db/derby/code/trunk/java/engine/org/apache/derby/impl/services/monitor: BaseMonitor.java PersistentServiceImpl.java ReadOnly.java StorageFactoryService.java
Date Wed, 08 Feb 2006 00:48:37 GMT
Author: djd
Date: Tue Feb  7 16:48:36 2006
New Revision: 375816

URL: http://svn.apache.org/viewcvs?rev=375816&view=rev
Log:
DERBY-927 (partial) Rename PersistentServiceImpl to StorageFactoryService to correctly
represent its purpose. Remove the partial ReadOnly implementation of PersistentService
as it is never used. It's functionality migrated into StorageFactoryService as read-only
StorageFactorys when the StorageFactory api was implemented.

Added:
    db/derby/code/trunk/java/engine/org/apache/derby/impl/services/monitor/StorageFactoryService.java
      - copied, changed from r375659, db/derby/code/trunk/java/engine/org/apache/derby/impl/services/monitor/PersistentServiceImpl.java
Removed:
    db/derby/code/trunk/java/engine/org/apache/derby/impl/services/monitor/PersistentServiceImpl.java
    db/derby/code/trunk/java/engine/org/apache/derby/impl/services/monitor/ReadOnly.java
Modified:
    db/derby/code/trunk/java/engine/org/apache/derby/impl/services/monitor/BaseMonitor.java

Modified: db/derby/code/trunk/java/engine/org/apache/derby/impl/services/monitor/BaseMonitor.java
URL: http://svn.apache.org/viewcvs/db/derby/code/trunk/java/engine/org/apache/derby/impl/services/monitor/BaseMonitor.java?rev=375816&r1=375815&r2=375816&view=diff
==============================================================================
--- db/derby/code/trunk/java/engine/org/apache/derby/impl/services/monitor/BaseMonitor.java
(original)
+++ db/derby/code/trunk/java/engine/org/apache/derby/impl/services/monitor/BaseMonitor.java
Tue Feb  7 16:48:36 2006
@@ -62,7 +62,7 @@
 import org.apache.derby.iapi.services.i18n.BundleFinder;
 import org.apache.derby.iapi.services.i18n.MessageService;
 
-import org.apache.derby.impl.services.monitor.PersistentServiceImpl;
+import org.apache.derby.impl.services.monitor.StorageFactoryService;
 
 import java.io.IOException;
 import java.io.InputStream;
@@ -1662,7 +1662,7 @@
                                                   e,
                                                   subSubProtocol, className);
         }
-        return new PersistentServiceImpl( subSubProtocol, storageFactoryClass);
+        return new StorageFactoryService( subSubProtocol, storageFactoryClass);
     } // end of getPersistentService
 
     private String getStorageFactoryClassName( Properties properties, String subSubProtocol)

Copied: db/derby/code/trunk/java/engine/org/apache/derby/impl/services/monitor/StorageFactoryService.java
(from r375659, db/derby/code/trunk/java/engine/org/apache/derby/impl/services/monitor/PersistentServiceImpl.java)
URL: http://svn.apache.org/viewcvs/db/derby/code/trunk/java/engine/org/apache/derby/impl/services/monitor/StorageFactoryService.java?p2=db/derby/code/trunk/java/engine/org/apache/derby/impl/services/monitor/StorageFactoryService.java&p1=db/derby/code/trunk/java/engine/org/apache/derby/impl/services/monitor/PersistentServiceImpl.java&r1=375659&r2=375816&rev=375816&view=diff
==============================================================================
--- db/derby/code/trunk/java/engine/org/apache/derby/impl/services/monitor/PersistentServiceImpl.java
(original)
+++ db/derby/code/trunk/java/engine/org/apache/derby/impl/services/monitor/StorageFactoryService.java
Tue Feb  7 16:48:36 2006
@@ -1,6 +1,6 @@
 /*
 
-   Derby - Class org.apache.derby.impl.services.monitor.PersistentServiceImpl
+   Derby - Class org.apache.derby.impl.services.monitor.StorageFactoryService
 
    Copyright 2004 The Apache Software Foundation or its licensors, as applicable.
 
@@ -61,7 +61,7 @@
  * This class implements the PersistentService interface using a StorageFactory class.
  * It handles all subSubProtocols except for cache.
  */
-final class PersistentServiceImpl implements PersistentService
+final class StorageFactoryService implements PersistentService
 {
 
     private String home; // the path of the database home directory. Can be null
@@ -71,7 +71,7 @@
     private StorageFactory rootStorageFactory;
     private char separatorChar;
 
-    PersistentServiceImpl( String subSubProtocol, Class storageFactoryClass)
+    StorageFactoryService( String subSubProtocol, Class storageFactoryClass)
         throws StandardException
     {
         this.subSubProtocol = subSubProtocol;



Mime
View raw message