File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
core/src/main/java/io/dinject Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 14
14
*
15
15
* <h3>Create a BeanContext</h3>
16
16
* <p>
17
- * We can programmatically create a BeanContext via BootContext .
17
+ * We can programmatically create a BeanContext via BeanContextBuilder .
18
18
* </p>
19
19
* <pre>{@code
20
20
*
21
21
* // create a BeanContext ...
22
22
*
23
- * try (BeanContext context = new BootContext ()
24
- * .load ()) {
23
+ * try (BeanContext context = new BeanContextBuilder ()
24
+ * .build ()) {
25
25
*
26
26
* CoffeeMaker coffeeMaker = context.getBean(CoffeeMaker.class);
27
27
* coffeeMaker.makeIt()
Original file line number Diff line number Diff line change 6
6
public class BeanEntry <T > {
7
7
8
8
/**
9
- * An explicitly supplied bean. See BootContext .
9
+ * An explicitly supplied bean. See BeanContextBuilder .
10
10
*/
11
11
public static final int SUPPLIED = 2 ;
12
12
You can’t perform that action at this time.
0 commit comments