diff --git a/guides/providing-services.md b/guides/providing-services.md index 90fd19d44..baafeb39e 100644 --- a/guides/providing-services.md +++ b/guides/providing-services.md @@ -906,7 +906,7 @@ The remaining cases that need custom handlers, reduce to real custom logic, spec **In Java**, you'd assign `EventHandler` classes using dependency injection as follows: -```js +```Java @Component @ServiceName("org.acme.Foo") public class FooServiceImpl implements EventHandler {...}