[jboss-dev-forums] [Design the new POJO MicroContainer] - Re: Scoped beans deployment

bill.burke@jboss.com do-not-reply at jboss.com
Wed Jan 31 13:46:49 EST 2007


Adrian, I'm not grokking here...

I was thinking more of:


  | <deploymen>
  |    <scope name="application">
  |        <bean name="Foo"/>
  |        <scope name="session">
  |             <bean name="bar/>
  |        </scope>
  |    </scope
  | </deployment>
  | 
  | Kernel app= kernel.createScope("Application");
  | Kernel session = app.createScope("session");
  | 

Or something like that.  I hope you get the idea.

All scoped beans would just be described and their metadata deployed into a new kernel when the scope is created.  Child scopes would not be created, but instead registered with the parent scope.





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

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



More information about the jboss-dev-forums mailing list