[jboss-cvs] JBossAS SVN: r61049 - trunk/server/src/main/org/jboss/deployment/security.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Fri Mar 2 04:31:27 EST 2007


Author: scott.stark at jboss.org
Date: 2007-03-02 04:31:27 -0500 (Fri, 02 Mar 2007)
New Revision: 61049

Modified:
   trunk/server/src/main/org/jboss/deployment/security/SecurityDeployer.java
Log:
Revert back to the unit.addAttachment call

Modified: trunk/server/src/main/org/jboss/deployment/security/SecurityDeployer.java
===================================================================
--- trunk/server/src/main/org/jboss/deployment/security/SecurityDeployer.java	2007-03-02 09:31:05 UTC (rev 61048)
+++ trunk/server/src/main/org/jboss/deployment/security/SecurityDeployer.java	2007-03-02 09:31:27 UTC (rev 61049)
@@ -83,7 +83,7 @@
       jaccPolicy.setConstructor(constructor); 
       
       //Now add this service bean to the unit
-      unit.getTransientAttachments().addAttachment("jboss.jaccpolicy",jaccPolicy, ServiceMetaData.class);  
+      unit.addAttachment("jboss.jaccpolicy",jaccPolicy, ServiceMetaData.class);  
    }
 
    @Override




More information about the jboss-cvs-commits mailing list