Skip to content

Commit

Permalink
Update providing-services.md
Browse files Browse the repository at this point in the history
Change code snippet language to java from js
  • Loading branch information
ekansh005 authored Dec 28, 2023
1 parent acc5b44 commit 221da07
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion guides/providing-services.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 {...}
Expand Down

0 comments on commit 221da07

Please sign in to comment.