Hello, I had this question a few months ago. You don't need to control the registration order of ServletContextHelper and ServletFilter. Just use osgi.http.whiteboard.context.select propery to wire the servlet, filter to the context.
Thai On Mon, Jan 7, 2019 at 1:09 PM Steinar Bang <[email protected]> wrote: > When using pax web whiteboard, is it necessary for a > ServletContextHelper creating a webcontext to be created before any > servlets or filters using it? > > If so: is there a way of enforcing construction order when the > ServletContextHelper, a shiro filter using the context, and a jersey > servlet both using the context all reside in the same bundle and are > instantiated as DS components? > > Can the ServletContextHelper expose a service and the servlet and filter > @Reference this service? (what can be used as the service?) > > Thanks! > > > - Steinar > > -- > -- > ------------------ > OPS4J - http://www.ops4j.org - [email protected] > > --- > You received this message because you are subscribed to the Google Groups > "OPS4J" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/d/optout. > -- Castor Technologies Inc 460 rue St-Catherine St Ouest, Suite 613 Montréal, Québec H3B-1A7 (514) 360-7208 o (514) 798-2044 f [email protected] www.castortech.com CONFIDENTIALITY NOTICE: The information contained in this e-mail is confidential and may be proprietary information intended only for the use of the individual or entity to whom it is addressed. If the reader of this message is not the intended recipient, you are hereby notified that any viewing, dissemination, distribution, disclosure, copy or use of the information contained in this e-mail message is strictly prohibited. If you have received and/or are viewing this e-mail in error, please immediately notify the sender by reply e-mail, and delete it from your system without reading, forwarding, copying or saving in any manner. Thank you. AVIS DE CONFIDENTIALITE: L’information contenue dans ce message est confidentiel, peut être protégé par le secret professionnel et est réservé à l'usage exclusif du destinataire. Toute autre personne est par les présentes avisée qu'il lui est strictement interdit de diffuser, distribuer ou reproduire ce message. Si vous avez reçu cette communication par erreur, veuillez la détruire immédiatement et en aviser l'expéditeur. Merci. -- -- ------------------ OPS4J - http://www.ops4j.org - [email protected] --- You received this message because you are subscribed to the Google Groups "OPS4J" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
