You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/asciidoc/modules/avaje-inject.adoc
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,4 +1,4 @@
1
-
=== Avaje Inject
1
+
====Avaje Inject
2
2
3
3
1) Add Avaje Inject to your project
4
4
@@ -89,7 +89,7 @@ fun main(args: Array<String>) {
89
89
<1> Install Avaje Inject module
90
90
<2> The javadoc:Jooby[require, java.lang.Class] call is now resolved by Avaje Inject
91
91
92
-
==== Property Injection
92
+
=====Property Injection
93
93
94
94
Configuration properties can be injected using the `@Named` annotation. As Avaje checks beans at compile time, `@External` is required to prevent false-positive compilation errors:
95
95
@@ -122,7 +122,7 @@ class BillingService @Inject constructor(@External @Named("currency") currency:
0 commit comments