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
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; 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 ```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 ## Polymorphic Event Handlers