Document Latest Features in README #27

Merged
kske merged 6 commits from f/improved-readme into develop 2021-11-26 13:54:58 +01:00
1 changed files with 2 additions and 2 deletions
Showing only changes of commit 39ffb5c82a - Show all commits

View File

@ -75,10 +75,10 @@ Then, require the Event Bus Core module in your `module-info.java`:
requires dev.kske.eventbus.core;
```
If you intend to use event handlers that are inaccessible to Event Bus by means of Java language access control, make sure to allow reflective access from your module:
If you intend to use event handlers that are inaccessible to Event Bus by means of Java language access control, make sure to allow reflective access to your package for Event Bus:
```java
opens my.module to dev.kske.eventbus.core;
opens my.package to dev.kske.eventbus.core;
kske marked this conversation as resolved Outdated
Outdated
Review

opens works for modules as well?
I thought it should have been opens my.package to dev.kske.eventbus.core...

`opens` works for modules as well? I thought it should have been `opens my.package to dev.kske.eventbus.core`...
Outdated
Review

This seems to be wrong actually. I will change it accordingly.

This seems to be wrong actually. I will change it accordingly.
```
## Polymorphic Event Handlers