Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Gyrex » Users of IRuntimeContext.getInjector().inject(Object)
Users of IRuntimeContext.getInjector().inject(Object) [message #944996] Mon, 15 October 2012 03:34
Gunnar Wagenknecht is currently offline Gunnar Wagenknecht
Messages: 446
Registered: July 2009
Senior Member
Hi,

Are there any users out there currently using
IRuntimeContext.getInjector().inject(Object)?

I'm reviewing the implementation and found that this method is hard to
support with the local context that I'm working on for
https://bugs.eclipse.org/390003

I'm inclined to remove the method immediately without the full
deprecation cycle because I found no evidence for it being used within
Gyrex and other projects using Gyrex I'm aware of.

The remaining two methods "make" and "uninject" should work sufficient.
The uses cases for "inject(Object)" should be really rare anyway. Most
of the time, "make" should be preferred. The Eclipse DI recognizes the
"@Singleton" scope.

-Gunnar

--
Gunnar Wagenknecht
gunnar@xxxxxxxx
http://wagenknecht.org/
Previous Topic:jersey multipart support?
Next Topic:How to use gyrex-1.2M1-repo.zip
Goto Forum:
  


Current Time: Thu Apr 17 17:42:54 EDT 2014

Powered by FUDForum. Page generated in 0.01878 seconds