summaryrefslogtreecommitdiffstats
path: root/osgi-integration
Commit message (Collapse)AuthorAgeFilesLines
* Update version to 8.2-SNAPSHOT (#9946)Teemu Suo-Anttila2017-09-081-1/+1
|
* Tidy up the Vaadin OSGi whiteboard component (#9648)Tim Ward2017-07-192-20/+20
| | | | | | | | | | | | The Vaadin OSGi integration component uses Declarative Services, but it does some odd things: * It uses the whiteboard service's own bundle context to get hold of the service instance * It has an asymmetric get/release for the whiteboard service, which could leak instances over time * It releases service instances that it is still actively using This change tidies up the service lifecycle by delegating the get/release to the Service Component Runtime managing the container (specifically by injecting the service instance). Using this injection also ensures that the Vaadin whiteboard service is obtained using this component's bundle context. This change also simplifies the code a little by using the reference as the key to track the registrations. Different references for the same service are required to be equal so there is no issue with doing this. This change does not alter the fact that the whiteboard service's bundle context is used to register the Http Whiteboard servlet, as this may be the intended behaviour. As a result the component should be prepared for an IllegalStateException when unregistering the service whiteboard service, which may already have been unregistered by the OSGi framework if the target bundle is stopping.
* Rename OSGi classes for Java naming conventions (#9320)Henri Sara2017-05-151-3/+3
| | | | | | - Rename OSGi to Osgi in class names. - Rename VaadinOSGiPortlet to OSGiVaadinPortlet for consistency with Spring, CDI etc. add-ons - Add missing javadoc
* Fix parent version in some POMsHenri Sara2017-04-251-1/+1
| | | Use the correct snapshot version of the parent.
* Add missing fields to OSGi manifestsHenri Sara2017-04-251-0/+2
| | | | Adds RequiredExecutionEnvironment and License fields and renames some bundles (SymbolicName) for backwards compatibility.
* Convenience API for registering themes and widgetsetsMirjan Merruko2017-04-251-3/+24
|
* Add scr component to help registering VaadinServlet configurationsMirjan Merruko2017-04-253-0/+240
This component will detect VaadinServlet configurations, add the static resource configuration property and then register a servlet using the HttpWhiteboard specification. This works with pax-jetty but not pax-http-tomcat. Partly covers #7173