[jboss-cvs] JBossAS SVN: r61040 - 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 01:31:49 EST 2007
Author: scott.stark at jboss.org
Date: 2007-03-02 01:31:48 -0500 (Fri, 02 Mar 2007)
New Revision: 61040
Modified:
trunk/server/src/main/org/jboss/deployment/security/SecurityDeployer.java
Log:
Move the policy attachment to the transient set
Modified: trunk/server/src/main/org/jboss/deployment/security/SecurityDeployer.java
===================================================================
--- trunk/server/src/main/org/jboss/deployment/security/SecurityDeployer.java 2007-03-02 01:17:31 UTC (rev 61039)
+++ trunk/server/src/main/org/jboss/deployment/security/SecurityDeployer.java 2007-03-02 06:31:48 UTC (rev 61040)
@@ -83,12 +83,12 @@
jaccPolicy.setConstructor(constructor);
//Now add this service bean to the unit
- unit.addAttachment("jboss.jaccpolicy",jaccPolicy, ServiceMetaData.class);
+ unit.getTransientAttachments().addAttachment("jboss.jaccpolicy",jaccPolicy, ServiceMetaData.class);
}
@Override
public void undeploy(DeploymentUnit unit )
{
- unit.removeAttachment("jboss.jaccpolicy", ServiceMetaData.class);
+ unit.getTransientAttachments().removeAttachment("jboss.jaccpolicy", ServiceMetaData.class);
}
}
More information about the jboss-cvs-commits
mailing list