Injection Scope [message #986409] |
Tue, 20 November 2012 05:53  |
Eclipse User |
|
|
|
Hello,
I think this could be a stupid question, but I don't find it in the forum:
I have a number of plugins that are injected into the main/core framework.
In each of the plugins the injected class is referenced via the fragment and
its connection to the core's part id. This works all perfectly... But here comes the problem:
Class A is injected into the framework and all @Inject, etc. annotations are resolved.
Whenever class A contains another class B,C,D,.. How do I get them also to be resolved?
E.g. Class B either gets an own context object or the parent context and sets a variable. Now the interested class C does not receive it via the @Named annotation.
Where is my missunderstanding?!?
Maybe to make it more abstract: How do I tell the Eclipse injection mechanism to resolved arbitrary other classes?
Thanks in advance...
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.05568 seconds