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 07:34
Gunnar Wagenknecht is currently offline Gunnar WagenknechtFriend
Messages: 452
Registered: July 2009
Location: Germany ✈ Vancouver
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: Sun Nov 23 11:28:03 GMT 2014

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

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