-
Notifications
You must be signed in to change notification settings - Fork 727
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
Implement a simpler alternative to ApplicationContext.TransactionListener #903
Comments
Originally by @Artur- Might make it into 6.2 |
Originally by @mstahv in [10107] added a derived solution of Artus proposition. Added added HttpServletRequestListener and PortletRequestListener which can be implemented by Application. Application implementing those interfaces will be called with both request and response before "payload" is applied to application and after terminal is done with its response. With these interfaces it should be easier to implement common TransactionListener tasks + we have better typed arguments for developers. Still we are not polluting basic application with terminal dependent stuff. An example of using cookies below:
|
Originally by @mstahv in [10114] ensured start/end to happen in pairs for both new interfaces + transaction listeners |
Originally by @Artur-
The context level transaction listener is too complex for most cases.
Proposed solution:
Imported from https://dev.vaadin.com/ issue #3731
The text was updated successfully, but these errors were encountered: