Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Equinox » Http Whiteboard propertytypes annotation support(does Equinox support things like @HttpWhiteboardServletPattern etc)
Http Whiteboard propertytypes annotation support [message #1818217] Tue, 10 December 2019 11:10 Go to next message
Erwin De Ley is currently offline Erwin De LeyFriend
Messages: 52
Registered: August 2013
Member
I understood Equinox supports Http Whiteboard v1.1 from its 4.11 release.
Cfr https://bugs.eclipse.org/bugs/show_bug.cgi?id=544011

But I could not find anything related to support for org.osgi.service.http.whiteboard.propertytypes, e.g. @HttpWhiteboardServletPattern, @HttpWhiteboardServletMultipart etc.
I could not find anything for them in the org.eclipse.osgi... bundles

I understand these are "build-time" things, like @Component. So I assume there must be something included in Equinox/Eclipse PDE when there is an intent to support them.

In an eclipse 2019.09, I added osgi.cmpn-7.00.jar to my platform and then when annotating a servlet as follows:

@Component(service = Servlet.class)
@HttpWhiteboardServletPattern("/uploadFiles")
@HttpWhiteboardServletMultipart(fileSizeThreshold=1024*10)
public class FilesUploadServlet extends HttpServlet {
...
}


I get a component xml file:
<scr:component xmlns:scr="http://www.osgi.org/xmlns/scr/v1.1.0" activate="activate" deactivate="deactivate" name="com.isencia.sherpa.web.servlet.FilesUploadServlet">
   <service>
      <provide interface="javax.servlet.Servlet"/>
   </service>
   <implementation class="com.isencia.sherpa.web.servlet.FilesUploadServlet"/>
</scr:component>


So it appears the @HttpWhiteboard... property annotations are not processed.

Any info on actual/planned support for this?

thanks
erwin
Re: Http Whiteboard propertytypes annotation support [message #1818226 is a reply to message #1818217] Tue, 10 December 2019 13:36 Go to previous messageGo to next message
Thomas Watson is currently offline Thomas WatsonFriend
Messages: 503
Registered: July 2009
Senior Member
This something that needs to be asked in the PDE forum. I am not aware of any current plans to support the http whiteboard annotations in PDE:

https://www.eclipse.org/forums/index.php/f/14/
Re: Http Whiteboard propertytypes annotation support [message #1818230 is a reply to message #1818226] Tue, 10 December 2019 14:48 Go to previous message
Erwin De Ley is currently offline Erwin De LeyFriend
Messages: 52
Registered: August 2013
Member
thanks, I reposted it there.
Previous Topic:Re https://www.eclipse.org/forums/index.php?t=rview&goto=1817477#msg_1817477
Next Topic:Stuck progress bar while installing p2 artifacts
Goto Forum:
  


Current Time: Fri Mar 29 13:38:45 GMT 2024

Powered by FUDForum. Page generated in 0.03578 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top