[jboss-dev-forums] [Design the new POJO MicroContainer] - Re: KernelRegistryPlugins and dependencies

adrian@jboss.org do-not-reply at jboss.com
Fri Sep 7 11:25:40 EDT 2007


"adrian at jboss.org" wrote : "bill.burke at jboss.com" wrote : 
  |   | If you saw my original post, this just isn't feasible as the EJB container (or any component that uses EE metadata references) might be referencing something that is MC-unaware.  I.e. a third-party JMS implementation.
  |   | 
  | 
  | In that case you impose a weaker dependency, either no dependency at all
  | or something like the JNDIDependencyItem.
  | What you need is something that says this needs the weaker notion,
  | I thought that already existed?

Also we've been talking about having the notion of "optional" dependency in the MC.
It sort of already exists with the install callbacks (with cardinality=0)

The idea being you don't wait for the dependency to start, but if it appears later
then it gets injected at that time.
Similarly if it disappears you don't get undeployed.

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

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



More information about the jboss-dev-forums mailing list