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 09:20 Go to next message
Christian Eugster is currently offline Christian EugsterFriend
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 19:10 Go to previous message
Thomas Schindl is currently offline Thomas SchindlFriend
Messages: 5469
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: Thu Nov 27 23:32:42 GMT 2014

Powered by FUDForum. Page generated in 0.01608 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software