User: user57  
  Date: 02/03/02 00:41:09

  Modified:    src/main/org/jboss/deployment/scanner
                        URLDeploymentScanner.java
  Log:
   o Added deploy(URL) and undeploy(URL) to MainDeployerMBean interface
   o Using above for deployment/undeployment
  
  Revision  Changes    Path
  1.3       +3 -3      
jboss-system/src/main/org/jboss/deployment/scanner/URLDeploymentScanner.java
  
  Index: URLDeploymentScanner.java
  ===================================================================
  RCS file: 
/cvsroot/jboss/jboss-system/src/main/org/jboss/deployment/scanner/URLDeploymentScanner.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- URLDeploymentScanner.java 2 Mar 2002 08:20:43 -0000       1.2
  +++ URLDeploymentScanner.java 2 Mar 2002 08:41:09 -0000       1.3
  @@ -36,7 +36,7 @@
    * A URL-based deployment scanner.  Supports local directory 
    * scanning for file-based urls.
    *
  - * @version <tt>$Revision: 1.2 $</tt>
  + * @version <tt>$Revision: 1.3 $</tt>
    * @author  <a href="mailto:[EMAIL PROTECTED]";>Jason Dillon</a>
    */
   public class URLDeploymentScanner
  @@ -292,7 +292,7 @@
            if (log.isTraceEnabled()) {
               log.trace("Deploying: " + du);
            }
  -         deployer.deploy(du.url.toString());
  +         deployer.deploy(du.url);
            du.deployed();
            
            if (!deployedSet.contains(du)) {
  @@ -314,7 +314,7 @@
            if (log.isTraceEnabled()) {
               log.trace("Undeploying: " + du);
            }
  -         deployer.undeploy(du.url.toString());
  +         deployer.undeploy(du.url);
            deployedSet.remove(du);
         }
         catch (Exception e)
  
  
  

_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to