Annotation Interface Eager


@Target({FIELD,PARAMETER,METHOD}) @Retention(RUNTIME) public @interface Eager
A binding marked as eager would be called for an instance of its object immediately upon injector creation. Next calls if getInstance would only retrieve the cached instance.

Bindings cannot be both eager and transient at the same time.