[jboss-dev-forums] [Design the new POJO MicroContainer] - Re: JBMICROCONT-330 - Preconfigured MDR and scopes
adrian@jboss.org
do-not-reply at jboss.com
Fri Aug 8 13:04:37 EDT 2008
"adrian at jboss.org" wrote :
| anonymous wrote :
| | What's the best way to port this?
| | Overriding this in some ControllerContext impl doesn't seem like a good fit.
|
| A simple way to make it backwards compatible would be to make KernelScopeInfo
| delegate back to the BasicKernelMDR.
|
| i.e. change AbstractScopeInfo::createMetaDataContext to pass in the ControllerContext
| then in KernelScopeInfo do
| context -> controller -> kernel -> BasicKernelMDR::createMetaDataContext
|
| Phew! :-)
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4169653#4169653
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4169653
More information about the jboss-dev-forums
mailing list