[Jboss-cvs] JBossAS SVN: r55510 - branches/MC_VDF_WORK/system/src/main/org/jboss/deployers/plugins

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Thu Aug 10 21:02:27 EDT 2006


Author: scott.stark at jboss.org
Date: 2006-08-10 21:02:25 -0400 (Thu, 10 Aug 2006)
New Revision: 55510

Modified:
   branches/MC_VDF_WORK/system/src/main/org/jboss/deployers/plugins/DeployerConstants.java
Log:
Add a DEPLOYER_ALLOWS_IMPLICIT_CLASSPATH constant: a key into the DeploymentContext.contextData used like:
dc.putContextData(DeployerConstants.class, DEPLOYER_ALLOWS_IMPLICIT_CLASSPATH, Boolean.TRUE|Boolean.FALSE)
if TRUE the JARDeployer will add non-deployment jars to the containing
deployment. If FALSE, only explicit classpath entries added by deployers
or ClassLoadingDeployer metadata will be added.

Modified: branches/MC_VDF_WORK/system/src/main/org/jboss/deployers/plugins/DeployerConstants.java
===================================================================
--- branches/MC_VDF_WORK/system/src/main/org/jboss/deployers/plugins/DeployerConstants.java	2006-08-11 00:32:22 UTC (rev 55509)
+++ branches/MC_VDF_WORK/system/src/main/org/jboss/deployers/plugins/DeployerConstants.java	2006-08-11 01:02:25 UTC (rev 55510)
@@ -65,7 +65,14 @@
    public static final String ZIP_ENHANCED_SUFFIX          = "270:.zip";
    public static final String BSH_ENHANCED_SUFFIX          = "280:.bsh";
    public static final String LAST_ENHANCED_SUFFIX         = "900:.last";
-   
+   /** The key into the DeploymentContext.contextData used like:
+    *  dc.putContextData(DeployerConstants.class, DEPLOYER_ALLOWS_IMPLICIT_CLASSPATH, Boolean.TRUE|Boolean.FALSE)
+    *  if TRUE the JARDeployer will add non-deployment jars to the containing
+    *  deployment. If FALSE, only explicit classpath entries added by deployers
+    *  or ClassLoadingDeployer metadata will be added.
+    */
+   public static final String DEPLOYER_ALLOWS_IMPLICIT_CLASSPATH = "implicitClasspath";
+
    public static final int DEFAULT_SUFFIX_ORDER            = 500;
    
 }




More information about the jboss-cvs-commits mailing list