While looking at the scoping changes, I discovered some wrong methods
on the KernelControllerContext.
To repeat what I said before, most of the runtime state/config should be done
through the DependencyInfo not the ControllerContext.
Where the ControllerContext holds state it is simply useful information
to prevent repeated access/construction, e.g. BeanInfo in the POJO stuff
or the legacy ServiceContext in the MBean stuff.
I removed applyMetaData() since that was completely unnecessary.
I factored out the MetaDataVisitor implementations from AbstractKernelControllerContext
to make it obvious that this stuff doesn't need to be in the context and is entirely
orthogonal.
I moved isAutowireCandidate() to the DependencyInfo where it belongs.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4078895#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...