[JBoss JIRA] Created: (JBMICROCONT-249) DependencyBuilderListItem should have a removeDependency()
by Adrian Brock (JIRA)
DependencyBuilderListItem should have a removeDependency()
----------------------------------------------------------
Key: JBMICROCONT-249
URL: http://jira.jboss.com/jira/browse/JBMICROCONT-249
Project: JBoss MicroContainer
Issue Type: Task
Components: AOP
Reporter: Adrian Brock
Assigned To: Kabir Khan
Fix For: JBossMC-2.0.0.CR1
The DepedencyBuilderListItem should have a removedDependency() method
with it invoked from the uninstallAction in the MC.
Writing the following test would the problem.
1) Create a class that is annotationed with @Whatever
2) Deploy two aspects (A1, A2) that introduce dependencies for @Whatever
3) Deploy the bean
4) The bean should be deployed with A1, A2
5) Move the bean back to the preinstall stage
6) Undeploy aspect A2
7) Try to move the bean back to INSTALLED.
It won't work because the bean still remembers the dependency on A2 without a removeDependency() method.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
17 years, 7 months