(Posting my comment as a response)
Have a look at my clone of Guice named Sharbat (means juice). The API is quite the same as Guice's.
It has pretty much everything you need:
- Constructor injection (does not require @Inject annotation)
- Field injection (regardless of visibility, using @Inject(FooBar))
- Method injection (regardless of visibility, requires @Inject annotation)
- Provider injection (for fields via @InjectProvider(T=FooBar), for methods via @Provider(T=FooBar, param=fooBarProvider)
- Scopes (possible to implement a custom one)
- AOP (method interceptors)
- Circular dependencies
See the readme file for example usage.
answered 2012-04-05T05:37:56.580