Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Plugin Development Environment (PDE) » Http Whiteboard propertytypes annotation support(does PDE support things like @HttpWhiteboardServletPattern etc)
Http Whiteboard propertytypes annotation support [message #1818229] Tue, 10 December 2019 14:48
Erwin De Ley is currently offline Erwin De LeyFriend
Messages: 52
Registered: August 2013
Member
(reposted from Equinox forum, where the feedback was that this is PDE-related.
cfr https://www.eclipse.org/forums/index.php/t/1101654/ )

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
Previous Topic:Problem with dependency resolution in PDE 2019-06?
Next Topic:Signing the plugin content
Goto Forum:
  


Current Time: Fri Jul 10 06:24:10 GMT 2020

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

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

Back to the top