[jboss-dev-forums] [Design of POJO Server] - ManagedDeployment.removeComponent might not be working
bytor99999
do-not-reply at jboss.com
Thu Jan 24 16:16:13 EST 2008
removeComponent doesn't seem to be working for me, I get no exceptions or anything, but the backing xml file hasn't changed in anyway.
OK, it is possible that the ProfileServiceUnitTestCase is reporting a false positive, because it just calls removeComponent but does no assertions or try to check to make sure that the component is truly gone.
No exceptions are occuring, but I am noticing that the component's xml file still exists.
OK, so looking at the ManagedDeploymentImpl class the removeComponent method just removes the ManagedComponent from the Map. How does this remove get filtered down to the actual deployment file?
Am I missing some other api that actually will remove the resource?
Thanks
Mark Spritzler
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4123201#4123201
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4123201
More information about the jboss-dev-forums
mailing list