| Manually triggering a class with injections? [message #955072] |
Tue, 23 October 2012 09:38  |
Alex Kipling Messages: 211 Registered: July 2012 |
Senior Member |
|
|
I have a class, which get a MApplication injected. It is a Handler. I want to trigger the Handler's methods manually.
Problem:
When I instantiate the Handler manually from another class - the MApplication is null. The class which I trigger the Handler from allready has an MApplication injected, so it is not a lifecycle problem.
Question:
How can I trigger a method in a class, which has @Inject annotated methods?
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.01560 seconds