[jboss-user] [Microcontainer] - Re: How to hide a bean from other deployments?

alesj do-not-reply at jboss.com
Sun Feb 1 03:31:46 EST 2009

"obrien" wrote : 
  | @Search seems to be a bit confusing way how to handle this. 
How would you do it?

"obrien" wrote : 
  | Wouldn't be easier to move search strategies into the @Inject itself
Since this is a wip/prototype and out of the usual inject notion
(injection usually works just up the hierarchy) I wanted explicitly
to separate the two.

To actually get proper scoping, as you hinted yourself with 'scope'
element, we need to do certain other things first:
(a) by default bean name should be guid, aliases would be the human name
(b) move all of the aliasing logic past PreInstall state
(c) proper hooks for applying scope  (not just annotations)
(d) allow definition of scoping through deployment layer 

"obrien" wrote : 
  | integrate it with the core microcontainer (instead of plugins).
The core?
The interfaces are a spi, where as the impls are of course plugins.
You can impl your own SearchInfo.

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

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

More information about the jboss-user mailing list