[jboss-dev-forums] [Design the new POJO MicroContainer] - Re: AbstractController add/removeControllerContext

alesj do-not-reply at jboss.com
Fri Aug 10 09:04:42 EDT 2007


"adrian at jboss.org" wrote : "alesj" wrote : 
  |   | Is this OK?
  |   | Or too ugly hack?
  | That's the way I told you to do it before.
  | 
To do an ugly hack? :-)

"adrian at jboss.org" wrote : 
  | The whole point of protected and "friend" in c++ is to allow restricted access
  | to implementation details, but you need to make sure the access makes sense.
  | 
  | i.e. Is it possible that the implementation will change down the road making these methods unsupportable?
If/when the whole scoping impl changes, it will be really easy to strip out the current impl - simply removing the Scoped(Kernel)Controller and re-connect the AbstractKernelController with AbstractController.
Since those two classes + PreInstallAction are the only one's who know what the scope is.

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

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



More information about the jboss-dev-forums mailing list