Make DefaultInstantiator extendable
See original GitHub issueCurrently, if you extend DefaultInstantiator
and register your new custom instantiator through SPI, the custom Instantiator
must be instantiated through a no-arg constructor. This constructor will not have access to a VaadinService
instance and thus the private VaadinService service
member variable in the parent DefaultInstantiator
can never be set. This, in turn, means the init
method will return false and the custom Instantiator won’t be picked up. If the init
method is overridden to return true, the methods requiring the VaadinService
instance will fail.
Issue Analytics
- State:
- Created 3 years ago
- Comments:6 (6 by maintainers)
Top Results From Across the Web
All Classes (MicroStream API 7.0) - MicroStream Reference Manual
Default implementation that stores referenced instances only if required (i.e.. BinaryStorer.Eager. Identical to BinaryStorer.Default , but stores every ...
Read more >Extendable Dining Table installation video - YouTube
We are going to show you how to install an extendable dining table in just a few minutes. You will see how easy...
Read more >How to make an Extendable Dining Table - YouTube
Learn how to build this extendable dining table. This table is made of wood (oak) and steel. This is one of my best...
Read more >Open Source Packages - KickJava.com
Change · ChangeAdapterFactory · ChangeAspectDataEvent · ChangeAttributeValue · ChangeCaseProposal · ChangeCollector · ChangeColorAction
Read more >Vaadin framework Issues - Giters
VScrollTable pagelength is set to 0 when table has size lower than displaying 1 row completely breaking lazy loading ... Make DefaultInstantiator extendable....
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Note that in Vaadin 14.6, it will be possible to override an
InstantiatorFactory
, removing the need to have a customVaadinServlet
.For Vaadin 14.5.x and lower, use something like the following:
Yeah I can see
InstantiatorFactory
but it’s not clear how to pass in a custom implementation to Vaadin! See https://github.com/vaadin/docs/issues/739