[jboss-user] [Microcontainer] - Re: JNDI & MC

alesj do-not-reply at jboss.com
Wed Mar 12 10:53:37 EDT 2008


"gcompienne" wrote : 
  | If my understanding is correct MC has a notion of application context (which is the "ControllerContext" or something like that if I am not mistaken?).
  | 
You mean DeploymentControllerContext?

"gcompienne" wrote : 
  | Now what I wonder is: is JBoss JNDI aware of this context?
  | 
No.

"gcompienne" wrote : 
  | Ideally I would like a deployer to be able to add entries to the application JNDI ENC but I must admit I wonder how to do that. 
  | 
@org.jboss.aop.microcontainer.aspects.jndi.JndiBinding

"gcompienne" wrote : 
  | If in the deployer's code, I try to create an initial context and lookup "java:comp/env", am I likely to get something potentially related to the deployer rather than the application?
  | 
Don't understand what you mean?
The deployers don't know anything about JNDI.

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

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



More information about the jboss-user mailing list