users@glassfish.java.net

How to obtain ExtHttpService from OSGI registry

From: <forums_at_java.net>
Date: Tue, 4 Dec 2012 15:45:44 -0600 (CST)

Hi I'm developing a WAB application where I want to register Servlet Filters
in BundleActivator.start() method. I'm getting null references when I try to
locate ExtHttpService: ServiceReference sRef =
bc.getServiceReference(ExtHttpService.class.getName()); However, the
HttpService reference is correctly bound, but it doesn't allows filter
registration. Thanks in advance. - Cristian

--
[Message sent by forum member 'csrinaldi']
View Post: http://forums.java.net/node/892941