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

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


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.