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?
The following made the day.