[jboss-cvs] JBossAS SVN: r94936 - in branches/vfs3-integration: profileservice/src/main/java/org/jboss/profileservice/domain and 13 other directories.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Thu Oct 15 05:54:35 EDT 2009


Author: emuckenhuber
Date: 2009-10-15 05:54:34 -0400 (Thu, 15 Oct 2009)
New Revision: 94936

Modified:
   branches/vfs3-integration/connector/src/main/java/org/jboss/resource/deployers/management/DsDataSourceTemplate.java
   branches/vfs3-integration/profileservice/src/main/java/org/jboss/profileservice/domain/DomainProfileFactory.java
   branches/vfs3-integration/profileservice/src/main/java/org/jboss/profileservice/management/templates/JmsDestinationTemplate.java
   branches/vfs3-integration/profileservice/src/main/java/org/jboss/profileservice/management/upload/remoting/DeployHandler.java
   branches/vfs3-integration/system/src/main/java/org/jboss/system/server/profileservice/VFSScanner.java
   branches/vfs3-integration/system/src/main/java/org/jboss/system/server/profileservice/repository/AbstractVFSProfileSource.java
   branches/vfs3-integration/system/src/main/java/org/jboss/system/server/profileservice/repository/BasicDeploymentRepository.java
   branches/vfs3-integration/system/src/main/java/org/jboss/system/server/profileservice/repository/XmlProfileFactory.java
   branches/vfs3-integration/system/src/main/java/org/jboss/system/server/profileservice/repository/clustered/ClusteredDeploymentRepository.java
   branches/vfs3-integration/system/src/main/java/org/jboss/system/server/profileservice/repository/clustered/local/AbstractLocalContentManager.java
   branches/vfs3-integration/testsuite/src/main/org/jboss/test/cluster/defaultcfg/profileservice/test/ClusteredDeploymentRepoAddContentTestCase.java
   branches/vfs3-integration/testsuite/src/main/org/jboss/test/cluster/defaultcfg/profileservice/test/FarmedClusterHugeDeploymentUnitTestCase.java
   branches/vfs3-integration/testsuite/src/main/org/jboss/test/cluster/defaultcfg/test/ChannelFactoryManagedObjectsTestCase.java
   branches/vfs3-integration/testsuite/src/main/org/jboss/test/cluster/defaultcfg/test/ClusterPartitionManagedObjectsTestCase.java
   branches/vfs3-integration/testsuite/src/main/org/jboss/test/deployers/AbstractDeploymentTest.java
   branches/vfs3-integration/testsuite/src/main/org/jboss/test/deployers/seam/test/SeamVFSClassloadingUnitTestCase.java
   branches/vfs3-integration/testsuite/src/main/org/jboss/test/deployers/test/DeploymentManagerUnitTestCase.java
   branches/vfs3-integration/testsuite/src/main/org/jboss/test/profileservice/override/test/AbstractProfileServiceTest.java
   branches/vfs3-integration/testsuite/src/main/org/jboss/test/profileservice/test/AbstractProfileServiceTest.java
   branches/vfs3-integration/testsuite/src/main/org/jboss/test/profileservice/test/ServerManagedObjectsTestCase.java
Log:
[JBAS-7348] start updating profileservice to VFS3

Modified: branches/vfs3-integration/connector/src/main/java/org/jboss/resource/deployers/management/DsDataSourceTemplate.java
===================================================================
--- branches/vfs3-integration/connector/src/main/java/org/jboss/resource/deployers/management/DsDataSourceTemplate.java	2009-10-15 08:48:36 UTC (rev 94935)
+++ branches/vfs3-integration/connector/src/main/java/org/jboss/resource/deployers/management/DsDataSourceTemplate.java	2009-10-15 09:54:34 UTC (rev 94936)
@@ -93,7 +93,7 @@
       // Write template
       writeTemplate(dsXml, values);
       // Return virtual file
-      return VFS.getRoot(dsXml.toURI());
+      return VFS.getChild(dsXml.toURI());
    }
 
    public DeploymentTemplateInfo getInfo()

Modified: branches/vfs3-integration/profileservice/src/main/java/org/jboss/profileservice/domain/DomainProfileFactory.java
===================================================================
--- branches/vfs3-integration/profileservice/src/main/java/org/jboss/profileservice/domain/DomainProfileFactory.java	2009-10-15 08:48:36 UTC (rev 94935)
+++ branches/vfs3-integration/profileservice/src/main/java/org/jboss/profileservice/domain/DomainProfileFactory.java	2009-10-15 09:54:34 UTC (rev 94936)
@@ -86,7 +86,7 @@
       if(domainURI == null)
          throw new IllegalArgumentException("Null domainURI");
       this.profileDirectories = new ArrayList<VirtualFile>();
-      domainFile = VFS.getRoot(domainURI);
+      domainFile = VFS.getChild(domainURI);
       if(domainFile == null)
          throw new IllegalArgumentException("Could not find uri: " + domainURI);
 
@@ -267,7 +267,7 @@
    protected VirtualFile getProfileFile(ProfileKey key, URL url) throws Exception
    {
       if(url != null)
-         return VFS.getRoot(url);
+         return VFS.getChild(url);
       else
          return resolveFile(key.getName());
    }

Modified: branches/vfs3-integration/profileservice/src/main/java/org/jboss/profileservice/management/templates/JmsDestinationTemplate.java
===================================================================
--- branches/vfs3-integration/profileservice/src/main/java/org/jboss/profileservice/management/templates/JmsDestinationTemplate.java	2009-10-15 08:48:36 UTC (rev 94935)
+++ branches/vfs3-integration/profileservice/src/main/java/org/jboss/profileservice/management/templates/JmsDestinationTemplate.java	2009-10-15 09:54:34 UTC (rev 94936)
@@ -112,7 +112,7 @@
       // Write template
       writeTemplate(dsXml, values);
       // Return virtual file
-      return VFS.getRoot(dsXml.toURI());
+      return VFS.getChild(dsXml.toURI());
    }
 
    public void updateTemplateDeployment(VFSDeployment ctx, DeploymentTemplateInfo values) throws Exception

Modified: branches/vfs3-integration/profileservice/src/main/java/org/jboss/profileservice/management/upload/remoting/DeployHandler.java
===================================================================
--- branches/vfs3-integration/profileservice/src/main/java/org/jboss/profileservice/management/upload/remoting/DeployHandler.java	2009-10-15 08:48:36 UTC (rev 94935)
+++ branches/vfs3-integration/profileservice/src/main/java/org/jboss/profileservice/management/upload/remoting/DeployHandler.java	2009-10-15 09:54:34 UTC (rev 94936)
@@ -105,7 +105,7 @@
       log.info("Begin distribute, content url: " + contentURL);
 
       // Create the virtual file
-      VirtualFile vf = VFS.getRoot(contentURL);
+      VirtualFile vf = VFS.getChild(contentURL);
      
       // FIXME make deployment visible to management view
       ProfileDeployment deployment = createDeployment(vf);

Modified: branches/vfs3-integration/system/src/main/java/org/jboss/system/server/profileservice/VFSScanner.java
===================================================================
--- branches/vfs3-integration/system/src/main/java/org/jboss/system/server/profileservice/VFSScanner.java	2009-10-15 08:48:36 UTC (rev 94935)
+++ branches/vfs3-integration/system/src/main/java/org/jboss/system/server/profileservice/VFSScanner.java	2009-10-15 09:54:34 UTC (rev 94936)
@@ -596,6 +596,6 @@
     */
    private VirtualFile getVFforURI(URI uri) throws IOException
    {
-      return VFS.getRoot(uri);
+      return VFS.getChild(uri);
    }
 }

Modified: branches/vfs3-integration/system/src/main/java/org/jboss/system/server/profileservice/repository/AbstractVFSProfileSource.java
===================================================================
--- branches/vfs3-integration/system/src/main/java/org/jboss/system/server/profileservice/repository/AbstractVFSProfileSource.java	2009-10-15 08:48:36 UTC (rev 94935)
+++ branches/vfs3-integration/system/src/main/java/org/jboss/system/server/profileservice/repository/AbstractVFSProfileSource.java	2009-10-15 09:54:34 UTC (rev 94936)
@@ -214,7 +214,7 @@
     */
    protected void addedDeployments(List<VirtualFile> list, VirtualFile root) throws IOException, URISyntaxException
    {
-      if(root.isLeaf() == true || root.isArchive() == true)
+      if(root.isDirectory() == false)
       {
          addedDeployment(list, root);
       }
@@ -251,8 +251,8 @@
       if(acceptsDeployment(key) == false)
          return;
 
-      // If it's a directory or exploded deployment
-      if(component.isLeaf() == false && component.isArchive() == false)
+      // If it's a directory
+      if(component.isDirectory())
       {
          // Check the name
          if(isRecursiveScan() && component.getName().indexOf('.') == -1)
@@ -350,7 +350,7 @@
       VirtualFile vf = getCachedVirtualFile(uri.toString());
       if(vf == null)
       {
-         vf = VFS.getRoot(uri);
+         vf = VFS.getChild(uri);
          this.applicationVFCache.put(uri.toString(), vf);
       }
       return vf;

Modified: branches/vfs3-integration/system/src/main/java/org/jboss/system/server/profileservice/repository/BasicDeploymentRepository.java
===================================================================
--- branches/vfs3-integration/system/src/main/java/org/jboss/system/server/profileservice/repository/BasicDeploymentRepository.java	2009-10-15 08:48:36 UTC (rev 94935)
+++ branches/vfs3-integration/system/src/main/java/org/jboss/system/server/profileservice/repository/BasicDeploymentRepository.java	2009-10-15 09:54:34 UTC (rev 94936)
@@ -211,7 +211,7 @@
          }
 
          // Get the vfs uri and add the VFS uri to the cached VFS uris
-         VirtualFile contentVF = VFS.getRoot(contentFile.toURI());
+         VirtualFile contentVF = VFS.getChild(contentFile.toURI());
          try
          {
             // Add the new virtual file to the cache

Modified: branches/vfs3-integration/system/src/main/java/org/jboss/system/server/profileservice/repository/XmlProfileFactory.java
===================================================================
--- branches/vfs3-integration/system/src/main/java/org/jboss/system/server/profileservice/repository/XmlProfileFactory.java	2009-10-15 08:48:36 UTC (rev 94935)
+++ branches/vfs3-integration/system/src/main/java/org/jboss/system/server/profileservice/repository/XmlProfileFactory.java	2009-10-15 09:54:34 UTC (rev 94936)
@@ -84,7 +84,7 @@
       this.profileDirectories = new ArrayList<VirtualFile>();
       for(URI uri : profileDirectories)
       {
-         VirtualFile vf = VFS.getRoot(uri);
+         VirtualFile vf = VFS.getChild(uri);
          if(vf == null)
             throw new IllegalArgumentException("Could not find uri: " + vf);
          if(vf.isLeaf())
@@ -250,7 +250,7 @@
    protected VirtualFile getProfileFile(ProfileKey key, URL url) throws Exception
    {
       if(url != null)
-         return VFS.getRoot(url);
+         return VFS.getChild(url);
       else
          return resolveFile(key.getName());
    }

Modified: branches/vfs3-integration/system/src/main/java/org/jboss/system/server/profileservice/repository/clustered/ClusteredDeploymentRepository.java
===================================================================
--- branches/vfs3-integration/system/src/main/java/org/jboss/system/server/profileservice/repository/clustered/ClusteredDeploymentRepository.java	2009-10-15 08:48:36 UTC (rev 94935)
+++ branches/vfs3-integration/system/src/main/java/org/jboss/system/server/profileservice/repository/clustered/ClusteredDeploymentRepository.java	2009-10-15 09:54:34 UTC (rev 94936)
@@ -714,7 +714,7 @@
       {
          try
          {
-            VFS.getRoot(uri);
+            VFS.getChild(uri);
             list.add(uri);
          }
          catch (Exception e)

Modified: branches/vfs3-integration/system/src/main/java/org/jboss/system/server/profileservice/repository/clustered/local/AbstractLocalContentManager.java
===================================================================
--- branches/vfs3-integration/system/src/main/java/org/jboss/system/server/profileservice/repository/clustered/local/AbstractLocalContentManager.java	2009-10-15 08:48:36 UTC (rev 94935)
+++ branches/vfs3-integration/system/src/main/java/org/jboss/system/server/profileservice/repository/clustered/local/AbstractLocalContentManager.java	2009-10-15 09:54:34 UTC (rev 94936)
@@ -692,7 +692,7 @@
       VirtualFile vf = this.vfCache.get(uri.toString());
       if(vf == null)
       {
-         vf = VFS.getRoot(uri);
+         vf = VFS.getChild(uri);
          this.vfCache.put(uri.toString(), vf);
       }
       return vf;

Modified: branches/vfs3-integration/testsuite/src/main/org/jboss/test/cluster/defaultcfg/profileservice/test/ClusteredDeploymentRepoAddContentTestCase.java
===================================================================
--- branches/vfs3-integration/testsuite/src/main/org/jboss/test/cluster/defaultcfg/profileservice/test/ClusteredDeploymentRepoAddContentTestCase.java	2009-10-15 08:48:36 UTC (rev 94935)
+++ branches/vfs3-integration/testsuite/src/main/org/jboss/test/cluster/defaultcfg/profileservice/test/ClusteredDeploymentRepoAddContentTestCase.java	2009-10-15 09:54:34 UTC (rev 94936)
@@ -210,8 +210,6 @@
          ProfileService ps = (ProfileService) ctx.lookup("ProfileService");
          deployMgr = ps.getDeploymentManager();
          deployMgr.loadProfile(getProfileKey());
-         // Init the VFS to setup the vfs* protocol handlers
-         VFS.init();
       }
       return deployMgr;
    }
@@ -228,8 +226,6 @@
       {
          ProfileService ps = (ProfileService) ctx.lookup("ProfileService");
          activeView = ps.getViewManager();
-         // Init the VFS to setup the vfs* protocol handlers
-         VFS.init();
       }
       // Reload
       activeView.load();

Modified: branches/vfs3-integration/testsuite/src/main/org/jboss/test/cluster/defaultcfg/profileservice/test/FarmedClusterHugeDeploymentUnitTestCase.java
===================================================================
--- branches/vfs3-integration/testsuite/src/main/org/jboss/test/cluster/defaultcfg/profileservice/test/FarmedClusterHugeDeploymentUnitTestCase.java	2009-10-15 08:48:36 UTC (rev 94935)
+++ branches/vfs3-integration/testsuite/src/main/org/jboss/test/cluster/defaultcfg/profileservice/test/FarmedClusterHugeDeploymentUnitTestCase.java	2009-10-15 09:54:34 UTC (rev 94936)
@@ -257,8 +257,6 @@
       {
          ProfileService ps = (ProfileService) ctx.lookup("ProfileService");
          activeView = ps.getViewManager();
-         // Init the VFS to setup the vfs* protocol handlers
-         VFS.init();
       }
       // Reload
       activeView.load();

Modified: branches/vfs3-integration/testsuite/src/main/org/jboss/test/cluster/defaultcfg/test/ChannelFactoryManagedObjectsTestCase.java
===================================================================
--- branches/vfs3-integration/testsuite/src/main/org/jboss/test/cluster/defaultcfg/test/ChannelFactoryManagedObjectsTestCase.java	2009-10-15 08:48:36 UTC (rev 94935)
+++ branches/vfs3-integration/testsuite/src/main/org/jboss/test/cluster/defaultcfg/test/ChannelFactoryManagedObjectsTestCase.java	2009-10-15 09:54:34 UTC (rev 94936)
@@ -289,8 +289,6 @@
          
          ProfileService ps = (ProfileService) ctx.lookup("ProfileService");
          activeView = ps.getViewManager();
-         // Init the VFS to setup the vfs* protocol handlers
-         VFS.init();
       }
       activeView.load();
       return activeView;

Modified: branches/vfs3-integration/testsuite/src/main/org/jboss/test/cluster/defaultcfg/test/ClusterPartitionManagedObjectsTestCase.java
===================================================================
--- branches/vfs3-integration/testsuite/src/main/org/jboss/test/cluster/defaultcfg/test/ClusterPartitionManagedObjectsTestCase.java	2009-10-15 08:48:36 UTC (rev 94935)
+++ branches/vfs3-integration/testsuite/src/main/org/jboss/test/cluster/defaultcfg/test/ClusterPartitionManagedObjectsTestCase.java	2009-10-15 09:54:34 UTC (rev 94936)
@@ -296,8 +296,6 @@
          
          ProfileService ps = (ProfileService) ctx.lookup("ProfileService");
          activeView = ps.getViewManager();
-         // Init the VFS to setup the vfs* protocol handlers
-         VFS.init();
       }
       activeView.load();
       return activeView;

Modified: branches/vfs3-integration/testsuite/src/main/org/jboss/test/deployers/AbstractDeploymentTest.java
===================================================================
--- branches/vfs3-integration/testsuite/src/main/org/jboss/test/deployers/AbstractDeploymentTest.java	2009-10-15 08:48:36 UTC (rev 94935)
+++ branches/vfs3-integration/testsuite/src/main/org/jboss/test/deployers/AbstractDeploymentTest.java	2009-10-15 09:54:34 UTC (rev 94936)
@@ -50,7 +50,6 @@
 import org.jboss.profileservice.spi.ProfileService;
 import org.jboss.test.JBossTestCase;
 import org.jboss.test.JBossTestSetup;
-import org.jboss.vfs.VFS;
 
 /**
  * Abstract deployment test.
@@ -259,8 +258,6 @@
       ProfileService ps = (ProfileService)ctx.lookup("ProfileService");
       ManagementView activeView = ps.getViewManager();
       activeView.load();
-      // Init the VFS to setup the vfs* protocol handlers
-      VFS.init();
       return activeView;
    }
 

Modified: branches/vfs3-integration/testsuite/src/main/org/jboss/test/deployers/seam/test/SeamVFSClassloadingUnitTestCase.java
===================================================================
--- branches/vfs3-integration/testsuite/src/main/org/jboss/test/deployers/seam/test/SeamVFSClassloadingUnitTestCase.java	2009-10-15 08:48:36 UTC (rev 94935)
+++ branches/vfs3-integration/testsuite/src/main/org/jboss/test/deployers/seam/test/SeamVFSClassloadingUnitTestCase.java	2009-10-15 09:54:34 UTC (rev 94936)
@@ -87,8 +87,7 @@
       if(noCopy)
          url = new URL(url.toExternalForm() + "?useNoCopyJarHandler=true");
       assertNotNull(url);
-      VFS vfs = VFS.getVFS(url);
-      VirtualFile vf = vfs.getRoot();
+      VirtualFile vf = VFS.getChild(url);
       assertNotNull(vf);
       return vf;
    }
@@ -98,19 +97,19 @@
       URL[] cp = {
          // ear
          ear.toURL(),
-         ear.findChild("lib/commons-beanutils.jar").toURL(),
-         ear.findChild("lib/commons-digester.jar").toURL(),
-         ear.findChild("lib/commons-digester.jar").toURL(),
-         ear.findChild("lib/jboss-el.jar").toURL(),
-         ear.findChild("lib/richfaces-api.jar").toURL(),
-         ear.findChild("jboss-seam.jar").toURL(),
-         ear.findChild("jboss-seam-booking.jar").toURL(),
-         ear.findChild("jboss-seam-booking.war/WEB-INF/classes/").toURL(),
-         ear.findChild("jboss-seam-booking.war/WEB-INF/lib/jboss-seam-debug.jar").toURL(),
-         ear.findChild("jboss-seam-booking.war/WEB-INF/lib/jboss-seam-ui.jar").toURL(),
-         ear.findChild("jboss-seam-booking.war/WEB-INF/lib/jsf-facelets.jar").toURL(),
-         ear.findChild("jboss-seam-booking.war/WEB-INF/lib/richfaces-impl.jar").toURL(),
-         ear.findChild("jboss-seam-booking.war/WEB-INF/lib/richfaces-ui.jar").toURL(),
+         ear.getChild("lib/commons-beanutils.jar").toURL(),
+         ear.getChild("lib/commons-digester.jar").toURL(),
+         ear.getChild("lib/commons-digester.jar").toURL(),
+         ear.getChild("lib/jboss-el.jar").toURL(),
+         ear.getChild("lib/richfaces-api.jar").toURL(),
+         ear.getChild("jboss-seam.jar").toURL(),
+         ear.getChild("jboss-seam-booking.jar").toURL(),
+         ear.getChild("jboss-seam-booking.war/WEB-INF/classes/").toURL(),
+         ear.getChild("jboss-seam-booking.war/WEB-INF/lib/jboss-seam-debug.jar").toURL(),
+         ear.getChild("jboss-seam-booking.war/WEB-INF/lib/jboss-seam-ui.jar").toURL(),
+         ear.getChild("jboss-seam-booking.war/WEB-INF/lib/jsf-facelets.jar").toURL(),
+         ear.getChild("jboss-seam-booking.war/WEB-INF/lib/richfaces-impl.jar").toURL(),
+         ear.getChild("jboss-seam-booking.war/WEB-INF/lib/richfaces-ui.jar").toURL(),
       };
       return cp;
    }

Modified: branches/vfs3-integration/testsuite/src/main/org/jboss/test/deployers/test/DeploymentManagerUnitTestCase.java
===================================================================
--- branches/vfs3-integration/testsuite/src/main/org/jboss/test/deployers/test/DeploymentManagerUnitTestCase.java	2009-10-15 08:48:36 UTC (rev 94935)
+++ branches/vfs3-integration/testsuite/src/main/org/jboss/test/deployers/test/DeploymentManagerUnitTestCase.java	2009-10-15 09:54:34 UTC (rev 94936)
@@ -242,9 +242,7 @@
          DeploymentProgress start = distributeAndStart(NESTED_DEPLOYMENT, deploymentName, true, false);
          String deployed = start.getDeploymentID().getRepositoryNames()[0];
          
-         // Delete the file manually
-         VFS.init();
-         VirtualFile f = VFS.getRoot(new URI(deployed));
+         VirtualFile f = VFS.getChild(new URI(deployed));
          assertTrue(deployed, f.exists());
          assertTrue("deleted " + deployed, f.delete());
          

Modified: branches/vfs3-integration/testsuite/src/main/org/jboss/test/profileservice/override/test/AbstractProfileServiceTest.java
===================================================================
--- branches/vfs3-integration/testsuite/src/main/org/jboss/test/profileservice/override/test/AbstractProfileServiceTest.java	2009-10-15 08:48:36 UTC (rev 94935)
+++ branches/vfs3-integration/testsuite/src/main/org/jboss/test/profileservice/override/test/AbstractProfileServiceTest.java	2009-10-15 09:54:34 UTC (rev 94936)
@@ -36,7 +36,6 @@
 import org.jboss.profileservice.spi.ProfileKey;
 import org.jboss.profileservice.spi.ProfileService;
 import org.jboss.test.JBossTestCase;
-import org.jboss.vfs.VFS;
 
 /**
  * @author <a href="mailto:emuckenh at redhat.com">Emanuel Muckenhuber</a>
@@ -135,9 +134,7 @@
       InitialContext ctx = getInitialContext();
       ProfileService ps = (ProfileService) ctx.lookup("ProfileService");
       ManagementView activeView = ps.getViewManager();
-      activeView.load();
-      // Init the VFS to setup the vfs* protocol handlers
-      VFS.init();    
+      activeView.load(); 
       return activeView;
    }
    
@@ -155,8 +152,6 @@
          ProfileService ps = (ProfileService) ctx.lookup("ProfileService");
          deployMgr = ps.getDeploymentManager();
          deployMgr.loadProfile(getProfileKey());
-         // Init the VFS to setup the vfs* protocol handlers
-         VFS.init();
       }
       return deployMgr;
    }

Modified: branches/vfs3-integration/testsuite/src/main/org/jboss/test/profileservice/test/AbstractProfileServiceTest.java
===================================================================
--- branches/vfs3-integration/testsuite/src/main/org/jboss/test/profileservice/test/AbstractProfileServiceTest.java	2009-10-15 08:48:36 UTC (rev 94935)
+++ branches/vfs3-integration/testsuite/src/main/org/jboss/test/profileservice/test/AbstractProfileServiceTest.java	2009-10-15 09:54:34 UTC (rev 94936)
@@ -189,8 +189,6 @@
          InitialContext ctx = getInitialContext();
          ProfileService ps = (ProfileService) ctx.lookup("ProfileService");
          activeView = ps.getViewManager();
-         // Init the VFS to setup the vfs* protocol handlers
-         VFS.init();
       }
       // Reload
       activeView.load();
@@ -210,8 +208,6 @@
          ProfileService ps = (ProfileService) ctx.lookup("ProfileService");
          deployMgr = ps.getDeploymentManager();
          deployMgr.loadProfile(getProfileKey());
-         // Init the VFS to setup the vfs* protocol handlers
-         VFS.init();
       }
       return deployMgr;
    }

Modified: branches/vfs3-integration/testsuite/src/main/org/jboss/test/profileservice/test/ServerManagedObjectsTestCase.java
===================================================================
--- branches/vfs3-integration/testsuite/src/main/org/jboss/test/profileservice/test/ServerManagedObjectsTestCase.java	2009-10-15 08:48:36 UTC (rev 94935)
+++ branches/vfs3-integration/testsuite/src/main/org/jboss/test/profileservice/test/ServerManagedObjectsTestCase.java	2009-10-15 09:54:34 UTC (rev 94936)
@@ -272,8 +272,6 @@
          InitialContext ctx = getInitialContext();
          ProfileService ps = (ProfileService) ctx.lookup("ProfileService");
          activeView = ps.getViewManager();
-         // Init the VFS to setup the vfs* protocol handlers
-         VFS.init();
       }
       activeView.load();
       return activeView;




More information about the jboss-cvs-commits mailing list