[jboss-user] [Microcontainer] - Re: How do I programmatically declare a JNDI name dependency

alesj do-not-reply at jboss.com
Wed Aug 29 09:01:11 EDT 2007


"wolfc" wrote : anonymous wrote : // @todo SORT THIS OUT, i.e. dependency that doesn't go through controller
  | That's nasty and putting people on the wrong foot. So in effect I don't return a context, but just a simple name/value.
  | Thanks.

That's true, but I think this example is not that nasty.
Perhaps try to limit the scope in which the lookup is done.

We could introduce new JNDI 'personality', which would only have 2 states: NOT_INSTALLED and INSTALLED. But that would mean that all local JNDI registry would have to go over MC, not sure what to do with remote/global lookups.

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4079134#4079134

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4079134



More information about the jboss-user mailing list