Skip to content

Commit 0f589fc

Browse files
committed
Merge pull request #1100 from nkjackzhang:patch-1
* pr/1100: Remove trailing whitespaces Add the injection point for the Provider
2 parents 6aa5931 + 1103a9c commit 0f589fc

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/asciidoc/core-beans.adoc

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5785,6 +5785,11 @@ other beans through a `Provider.get()` call. As a variant of the example above:
57855785
57865786
private Provider<MovieFinder> movieFinder;
57875787
5788+
@Inject
5789+
public void setMovieFinder(Provider<MovieFinder> movieFinder) {
5790+
this.movieFinder = movieFinder;
5791+
}
5792+
57885793
public void listMovies() {
57895794
this.movieFinder.get().findMovies(...);
57905795
...

0 commit comments

Comments
 (0)