About PicoContainer in Jdonframework

12-02-28 herdingdang
hi, banqiao

I have a question about PicoContainer. I've read your code about jdon-framework container part, I can't understand why u have to implement a PicoContainer by yourself? does your implementation have some advantage than the default PicoContainer.

if possible, please explain it.

BTW, I run the robot sample, but these is a issue that, at the first time, it's ok. but It must throw a exception at 2nd time. and I hold F5 to fresh page, the exception occurred occasionally.

anyone have the same case?

[该贴被herdingdang于2012-02-28 14:43修改过]

    

banq
2012-02-29 11:14
2012年02月28日 14:26 "@herdingdang"的内容
does your implementation have some advantage than the default PicoContainer. ...

Jdonframework need some AOP function, and dynamic proxy , old PicoContainer only inject a instance of original object into the dependence object, but we need a dynamic proxy instanc of original object injected. others modification reasons are component lifecycle management.

about errors of F5 refresh, there is maybe others reason, that maybe not about Jdonframework.

猜你喜欢