eclipse-sisu / sisu-project

Sisu Inject
https://www.eclipse.org/sisu
Eclipse Public License 2.0
17 stars 15 forks source link

Support automatic registration of AssistedInject factories (Bugzilla Bug 386439) #8

Open mcculls opened 2 years ago

mcculls commented 2 years ago

This issue was created automatically with bugzilla2github

Bugzilla Bug 386439

Date: 2012-08-01 18:48:06 -0400 From: Stuart McCulloch <mcculls@gmail.com> To: Project Inbox <sisu-inbox@eclipse.org>

See also: https://issues.sonatype.org/browse/SISU-63 Last updated: 2013-07-16 21:17:02 -0400

Comment 2144116

Date: 2012-08-01 18:48:06 -0400 From: Stuart McCulloch <mcculls@gmail.com>

Migrated from https://issues.sonatype.org/browse/SISU-63

Would be useful if you could tag AssistedInject components with @AssistedBy(Factory.class) and the container would then register the factory for you, rather than the current approach of adding a @Named module to explicitly install it.