Diff of /incubator/derby/code/trunk/java/engine/org/apache/derby/impl/services/monitor/PersistentServiceImpl.java
Parent Directory
| Revision Log
| 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()