spring icon indicating copy to clipboard operation
spring copied to clipboard

Don't use custom Spring servlet, Spring service, Spring session

Open denis-anisimov opened this issue 6 years ago • 0 comments

@denis-anisimov commented on Wed Oct 11 2017

At the moment there are a number of class that are implemented for Spring: service, servlet, session.

It should be possible for the developer to create it's own implementations so that he doesn't know anything about a custom Spring vaadin servlet.

There should be a SpringInstantiator which is registered via Java SPI. To be able to keep Instantiator concept extensible we should change the implementation of creating/searching available Instantiator classes. If there is a several eligible classes then we should check the hierarchy. If they are subclasses of each others then just select the subclass.

denis-anisimov avatar Apr 18 '18 07:04 denis-anisimov