Skip to content

Commit 3739cee

Browse files
committed
Fix issues
1 parent f43ff39 commit 3739cee

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

_posts/2015-05-27-guice.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ public class ContactsController extends Controller {
2929

3030
Pippo automatically creates the _ContactsController_ instance and pippo-guice injects the ContactService service bean, so basically you don’t have to worry about any of that stuff.
3131

32-
To activate pippo-guice integration in your Application you must add `GuiceControllerFactory`:
32+
To activate pippo-guice integration in your Application you must register `GuiceControllerFactory` and extend from `ControllerApplication` instead:
3333

3434
```java
3535
public class MyApplication extends ControllerApplication {

_posts/2015-06-26-cdi.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ public class ContactsController extends Controller {
2929

3030
Pippo automatically creates the _ContactsController_ instance and pippo-weld injects the ContactService service bean, so basically you don’t have to worry about any of that stuff.
3131

32-
To activate pippo-weld integration in your Application you must add a `WeldControllerFactory` instance:
32+
To activate pippo-weld integration in your Application you must register `WeldControllerFactory` and extend from `ControllerApplication` instead:
3333

3434
```java
3535
public class MyApplication extends Application {

0 commit comments

Comments
 (0)