[jboss-cvs] JBossAS SVN: r61041 - trunk/server/src/main/org/jboss/web/deployers.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Fri Mar 2 01:32:39 EST 2007


Author: scott.stark at jboss.org
Date: 2007-03-02 01:32:39 -0500 (Fri, 02 Mar 2007)
New Revision: 61041

Modified:
   trunk/server/src/main/org/jboss/web/deployers/AbstractWarDeployer.java
Log:
Move the web module ServiceMetaData attachment to the transient set

Modified: trunk/server/src/main/org/jboss/web/deployers/AbstractWarDeployer.java
===================================================================
--- trunk/server/src/main/org/jboss/web/deployers/AbstractWarDeployer.java	2007-03-02 06:31:48 UTC (rev 61040)
+++ trunk/server/src/main/org/jboss/web/deployers/AbstractWarDeployer.java	2007-03-02 06:32:39 UTC (rev 61041)
@@ -609,7 +609,8 @@
          } 
 
          // TODO could create multiple components for the deployment
-         unit.addAttachment(ServiceMetaData.class, webModule);
+         // The ServiceConstructorMetaData is not serializable due to its args
+         unit.getTransientAttachments().addAttachment(ServiceMetaData.class, webModule);
       }
       catch (Exception e)
       {




More information about the jboss-cvs-commits mailing list