dependency injection - DI container for Java without @Inject -


i'd know if there di container java world behaves close .net ones, namely, want these 2 features:

  • main requirement - should work without @inject annotation. so, if @inject not specified anywhere, , class has single constructor container should use constructor. know, @inject annotation standard, don't it.
  • 2nd requirement (not necessary @ all) - way auto-configure (by naming conventions etc.)

it looks swing , guice require @inject, happy, if i'm wrong.

pico satisfies 1st requirement. 2nd requirement can more or less done org.reflections library , this answer


Comments

Popular posts from this blog

mod rewrite - Using "?" when rewriting the URL -

.htaccess: Transfer name to index.php if not directory public -

Admob integration with pygame in android -