@Retention(value=RUNTIME) @Target(value=METHOD) public @interface Provides
Mark a factory method of a module (any class) that can be used to create a bean instance injection.
The factory method could be annotated with Qualifier annotations like Named to provide some differentiation on injection
Qualifier
Named
Copyright © 2016–2017 OSGL (Open Source General Library). All rights reserved.