Hello,

I have quite a number of bundles that make up my application. Some of them
contain servlets and static resources, some host servlet filters. If I
register them with whiteboard registry by DS annotation without specifying
the servlet context helper the default will be created and used. So, here
are my questions:
1/the default servlet context helper is created for each bundle or all
bundles share the same one?
2/if i manually create a servlet context helper for each bundle, basically
I have to provide a different context path for each, is there anything I
can use from the bundle without hardcoding the context path to the DS
annotation (@Component(property
="osgi.http.whiteboard.context.path=/iDontWantToHardcodeHere"))

Thai
_______________________________________________
OSGi Developer Mail List
[email protected]
https://mail.osgi.org/mailman/listinfo/osgi-dev

Reply via email to