posted 14 years ago
DI and AOP are orthogonal concepts. I think you want to use AOP, not DI.
So I guess you don't want to have logging code in your singleton class?
SCJA 1.0, SCJP 1.4, SCWCD 1.4, SCBCD 1.3, SCJP 5.0, SCEA 5, SCBCD 5; OCUP - Fundamental, Intermediate and Advanced; IBM Certified Solution Designer - OOAD, vUML 2; SpringSource Certified Spring Professional