[jboss-cvs] JBossAS SVN: r104768 - projects/aop/branches/Branch_2_2/deployers/src/main/java/org/jboss/aop/asintegration/jboss5.
jboss-cvs-commits at lists.jboss.org
jboss-cvs-commits at lists.jboss.org
Thu May 13 12:02:05 EDT 2010
Author: kabir.khan at jboss.com
Date: 2010-05-13 12:02:04 -0400 (Thu, 13 May 2010)
New Revision: 104768
Modified:
projects/aop/branches/Branch_2_2/deployers/src/main/java/org/jboss/aop/asintegration/jboss5/AbstractAopMetaDataDeployer.java
Log:
[JBAOP-791] Clean up the scoped manager beans on undeploy
Modified: projects/aop/branches/Branch_2_2/deployers/src/main/java/org/jboss/aop/asintegration/jboss5/AbstractAopMetaDataDeployer.java
===================================================================
--- projects/aop/branches/Branch_2_2/deployers/src/main/java/org/jboss/aop/asintegration/jboss5/AbstractAopMetaDataDeployer.java 2010-05-13 15:15:06 UTC (rev 104767)
+++ projects/aop/branches/Branch_2_2/deployers/src/main/java/org/jboss/aop/asintegration/jboss5/AbstractAopMetaDataDeployer.java 2010-05-13 16:02:04 UTC (rev 104768)
@@ -159,6 +159,9 @@
AopMetaDataDeployerOutput output = unit.getAttachment(AopMetaDataDeployerOutput.class);
undeployBeans(unit, output);
+
+ if (output != null)
+ unregisterScopedManagerBean(output.getScopedAspectManagerBeanName(), true);
}
protected abstract List<BeanMetaDataFactory> getFactories(T deployment);
More information about the jboss-cvs-commits
mailing list