-
Notifications
You must be signed in to change notification settings - Fork 16
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Make Eventbus available from Filters #179
Comments
I do not see any reason why the event bus should not have protected access. |
Hi, it seems that the eventBus is not populated in the filter (its null when I try and use it). My project setup uses a LoginModule. In the LoginFilter class, I try and send a message to the eventBus but the eventBus is null.
... In the generated LoginModuleModuleImpl class, I suspect the eventbus needs to be set in this method, when the context is set??? @OverRide |
Mmmh, I checked the filters of my project. and in all filters the event bus is set. Please, retry using the latest SNAPSHOT. |
Oh, I missed the module generator ... please try again |
yep this is now working in HEAD-SNAPSHOT |
Thanks for confirming |
At present the eventbus is only available for logging errors in filters. It has private access in the AbstractFilter class.
Proposed to make the eventbus available for general events (especially logging) when the filter is activated i.e making it protected access.
The text was updated successfully, but these errors were encountered: