Package org.jboss.test.virtual.support.ps.hotdeploy

Examples of org.jboss.test.virtual.support.ps.hotdeploy.HDScanner.start()


      VirtualFile archiveVF = vfs.getChild("deploy/"+archive.getName());     
      VFSDeployment vfsd = VFSDeploymentFactory.getInstance().createVFSDeployment(archiveVF);
      repository.addDeployment(archiveVF.toURI().toString(), vfsd, DeploymentPhase.APPLICATION);

      getLog().debug("Waiting for 10 scans...");
      scanner.start();
      while(scanner.getScanCount() < 10)
      {
         Thread.sleep(1000);
         // Update the archive last modifed time
         archive.setLastModified(System.currentTimeMillis());
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.