Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse 4 » Inject more than one implementations of same service
Inject more than one implementations of same service [message #670626] Sun, 15 May 2011 05:20 Go to next message
Christian Eugster is currently offline Christian Eugster
Messages: 134
Registered: July 2009
Location: St. Gallen Switzerland
Senior Member
Sorry I could not find any information, so I ask here:

Is it possible to inject more than one implementation of the same service? I have a template service with several different service implementations and I want to list those services in a view.

How I have to implement my view like @Inject private ServiceInterface myService? that all available services are catched? Or is it not possible on that way?

Thank you!
Re: Inject more than one implementations of same service [message #671103 is a reply to message #670626] Mon, 16 May 2011 15:10 Go to previous message
Thomas Schindl is currently offline Thomas Schindl
Messages: 5013
Registered: July 2009
Senior Member
IIRC no :-(

Tom

Am 15.05.11 11:20, schrieb Christian Eugster:
> Sorry I could not find any information, so I ask here:
>
> Is it possible to inject more than one implementation of the
> same service? I have a template service with several
> different service implementations and I want to list those
> services in a view.
>
> How I have to implement my view like @Inject private
> ServiceInterface myService? that all available services are
> catched? Or is it not possible on that way?
>
> Thank you!
Previous Topic:(no subject)
Next Topic:Ressources tracking in E4
Goto Forum:
  


Current Time: Fri Apr 18 04:18:12 EDT 2014

Powered by FUDForum. Page generated in 0.01781 seconds