/[Apache-SVN]/incubator/derby/code/trunk/java/engine/org/apache/derby/impl/services/monitor/PersistentServiceImpl.java
ViewVC logotype

Diff of /incubator/derby/code/trunk/java/engine/org/apache/derby/impl/services/monitor/PersistentServiceImpl.java

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

--- incubator/derby/code/trunk/java/engine/org/apache/derby/impl/services/monitor/PersistentServiceImpl.java	2005/05/02 15:41:41	165644
+++ incubator/derby/code/trunk/java/engine/org/apache/derby/impl/services/monitor/PersistentServiceImpl.java	2005/05/02 15:51:48	165645
@@ -629,7 +629,15 @@ public class PersistentServiceImpl imple
 		Throwable t = null;
         try
         {
-            return (String) AccessController.doPrivileged(
+			String protocolLeadIn = "";
+			//prepend the subsub protocol name to the storage factoty canonical
+			//name to form the service name except in case of the the 
+			//default subsubprototcol(PersistentService.DIRECTORY)
+
+			if (!(getType().equals( PersistentService.DIRECTORY))) 
+				protocolLeadIn = getType() + ":";
+
+            return protocolLeadIn + (String) AccessController.doPrivileged(
                 new PrivilegedExceptionAction()
                 {
                     public Object run()

 

infrastructure at apache.org
ViewVC Help
Powered by ViewVC 1.1.26