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

adrian@jboss.org do-not-reply at jboss.com
Fri Feb 9 11:38:31 EST 2007


"alesj" wrote : 
  | You probably meant this code:
  | 
  |   | ScopeKey scope = from the <scope/>;
  |   | 

You need to combine all the scopes.

In fact, the stuff we talked about before is probably better as a Scope rather than a ScopeKey.

You would then create the ScopeKey from all the scopes

  |    /**
  |     * Create a new ScopeKey.
  |     * 
  |     * @param scopes the scopes
  |     */
  |    public ScopeKey(Collection<Scope> scopes)
  |    {
  | 

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

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



More information about the jboss-dev-forums mailing list