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
Post a Comment