[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [virgo-dev] Programmatic registration of servlets in OSGi


Please check this blog [1]


[1] http://codewax.org/eclipse-rt/extending-virgo-with-a-httpservice/

2013/3/14 Bruce Jackson <bruce@xxxxxxxxxxxxx>:
> Hi All
> Can anyone tell me whether it is possible to use the standard OSGi pattern
> for servlet registration in Virgo, i.e.
> HttpService http = (HttpService) context.getService(ref);
> http.registerServlet("/MyContext", servlet = new MyServlet(), null, null);
> ...and if not directly, whether there is an alternate virgo-specific
> programmatic mechanism for this?
> Best regards
> Bruce
> This e-mail is only intended for the person(s) to whom it is addressed and
> may contain CONFIDENTIAL information. Any opinions or views are personal to
> the writer and do not represent those of INQ Mobile Limited, Hutchison
> Whampoa Limited or its group companies. If you are not the intended
> recipient, you are hereby notified that any use, retention, disclosure,
> copying, printing, forwarding or dissemination of this communication is
> strictly prohibited. If you have received this communication in error,
> please erase all copies of the message and its attachments and notify the
> sender immediately. INQ Mobile Limited is a company registered in the
> British Virgin Islands. www.inqmobile.com.
> _______________________________________________
> virgo-dev mailing list
> virgo-dev@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/virgo-dev