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

css - Which browser returns the correct result for getBoundingClientRect of an SVG element? -

gcc - Calling fftR4() in c from assembly -

.htaccess - Matching full URL in RewriteCond -