[jboss-dev-forums] [Design the new POJO MicroContainer] - Re: OnDemand as an aspect

alesj do-not-reply at jboss.com
Thu May 7 02:35:22 EDT 2009


"jason.greene at jboss.com" wrote : 
  | It definitely screams for proxies, not sure about all of the AOP baggage. :)  What I meant was that you could express that pojo A has hard dependency on B, but A also has lazy dependency on C. Then when A is started, it gets a the normal ref to B, but a lazy proxy of C (non-start/activated). The first call on C triggers activation of C. 
  | 
  | In addition, there could be some kind of lazy registry call to get a lazy ref to an MC service.
Actually this is all already there. :-)
See lazy element in MC schema.

I just need to properly finish On_Demand handling in these lazy wrappers.

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

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



More information about the jboss-dev-forums mailing list