[jboss-cvs] JBossAS SVN: r68340 - trunk/system-jmx/src/main/org/jboss/deployment.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Mon Dec 17 09:08:26 EST 2007


Author: alesj
Date: 2007-12-17 09:08:26 -0500 (Mon, 17 Dec 2007)
New Revision: 68340

Modified:
   trunk/system-jmx/src/main/org/jboss/deployment/MainDeployer.java
Log:
IsDeployed info log.

Modified: trunk/system-jmx/src/main/org/jboss/deployment/MainDeployer.java
===================================================================
--- trunk/system-jmx/src/main/org/jboss/deployment/MainDeployer.java	2007-12-17 12:08:32 UTC (rev 68339)
+++ trunk/system-jmx/src/main/org/jboss/deployment/MainDeployer.java	2007-12-17 14:08:26 UTC (rev 68340)
@@ -45,7 +45,6 @@
 import java.util.StringTokenizer;
 import java.util.jar.Attributes;
 import java.util.jar.Manifest;
-
 import javax.management.MBeanServer;
 import javax.management.MalformedObjectNameException;
 import javax.management.Notification;
@@ -1326,7 +1325,9 @@
     */
    public boolean isDeployed(URL url)
    {
-      return delegate.getDeploymentState(url.toString()) == org.jboss.deployers.spi.DeploymentState.DEPLOYED;
+      org.jboss.deployers.spi.DeploymentState deploymentState = delegate.getDeploymentState(url.toString());
+      log.info("isDeployed, url="+url+", state="+deploymentState);
+      return deploymentState == org.jboss.deployers.spi.DeploymentState.DEPLOYED;
    }
 
    /**




More information about the jboss-cvs-commits mailing list