As i clearly mentioned above, I would be glad to开发者_StackOverflow hear your ideas about that.
btw, some other ones say; "call Component.getInstance(Facade,true) from your inner class." However, I dont understand it actually..
Thanks
Once the injection has happened, it's just a reference like any other, so there's no reason why it should not work.
Just make sure you don't declare your inner class as static. A static class can't use a non-static parent variable (you'll get a "Cannot make a static reference to the non-static field") exception.
精彩评论