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

bill.burke@jboss.com do-not-reply at jboss.com
Thu Feb 1 10:32:38 EST 2007


"adrian at jboss.org" wrote : "bill.burke at jboss.com" wrote : Adrian, I'm not grokking here...
  | 
  | See the scoped metadata in org.jboss.metadata in the container project
  | and its integration with the MC which was discussed/done within the last
  | couple of months.
  | 
  | 
  |   | <deploymen>
  |   |    <scope name="application">
  |   |        <bean name="Foo"/>
  |   |        <scope name="session">
  |   |             <bean name="bar/>
  |   |        </scope>
  |   |    </scope
  |   | </deployment>
  |   | 
  | 
  | That won't work because you define the scopes hierarchically
  | but also somewhat randomly (even without introducing session/thread/transaction/converstation/etc. :-)
  | 

I think I see what you mean.  Thread scope would want to obtain metadata from both its transaction and conversation.  Is that what you're talking about?



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

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



More information about the jboss-dev-forums mailing list