I was just wondering if anyone would like org.jboss.naming.Util to have an unbind feature.
Unbinding by hand is easy enough, but I need (and am using in a subclass of Util for my own project) the ability to make unbind remove the intermediate contexts if they are empty. ie: A/B/C/val1 A/B/C/val2 A/D/val3 unbind(A/B/C/val1) would only remove "val1" from the A/B/C context then doing unbind(A/B/C/val2) // after you already unbound val1 wiht remove val2, C, B contexts (but not A since it had more than one subcontext) I'd like to add this to the Util class, but wasn't sure if anyone else thought it was usefull, or what it should be called. I call mine "unbind", because it's the opposite of bind() which creates subctx. But the unweary may not realize that it nukes intermediates. So maybe call it unbindTree ? -David p.s. Do people normally just add stuff and wait for someone to complain? If so, I'll stop posting questions about these little mods, and just implement them, and fix em if someone bitches. _______________________________________________ Jboss-development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development
