Author: pete.muir(a)jboss.org
Date: 2008-09-19 08:41:28 -0400 (Fri, 19 Sep 2008)
New Revision: 9031
Modified:
trunk/src/main/org/jboss/seam/init/Initialization.java
Log:
JBSEAM-3413
Modified: trunk/src/main/org/jboss/seam/init/Initialization.java
===================================================================
--- trunk/src/main/org/jboss/seam/init/Initialization.java 2008-09-19 12:10:35 UTC (rev
9030)
+++ trunk/src/main/org/jboss/seam/init/Initialization.java 2008-09-19 12:41:28 UTC (rev
9031)
@@ -645,7 +645,7 @@
// TODO Hack
hotDeploymentStrategy.getFiles().add(warRootDirectory);
init.setHotDeployPaths( hotDeploymentStrategy.getHotDeploymentPaths() );
- }
+ }
installComponents(init);
@@ -682,7 +682,10 @@
hotDeploymentStrategy =
createHotDeployment(Thread.currentThread().getContextClassLoader());
addWarRoot(hotDeploymentStrategy);
hotDeploymentStrategy.scan();
- installHotDeployableComponents();
+ if (hotDeploymentStrategy.isHotDeployClasslLoaderEnabled())
+ {
+ installHotDeployableComponents();
+ }
Contexts.getEventContext().set(HotDeploymentStrategy.NAME, hotDeploymentStrategy);
Pages.instance().setHotDotPageDotXmlFileNames(DotPageDotXmlDeploymentHandler.hotInstance().getFiles());
init.setTimestamp( System.currentTimeMillis() );
Show replies by date