[jboss-dev-forums] [Design the new POJO MicroContainer] - Re: JBMICROCONT-330 - Preconfigured MDR and scopes

adrian@jboss.org do-not-reply at jboss.com
Wed Aug 13 05:40:25 EDT 2008


"alesj" wrote : 
  | We're back to the same problem:
  | How to map some ID from deployers (we set some predetermined metadata),
  | to a bean's ScopeInfo, where our only info is className and bean's name,
  | no idea if the bean is gonna be scoped.
  | 

The idea is that every Component/ControllerContext has a GUID.
When you create the ControllerContext from the Component, you copy the GUID.

The INSTANCE scope would then just be INSTANCE/GUID rather than
INSTANCE/BeanName.

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

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



More information about the jboss-dev-forums mailing list