The Http Whiteboard API contains a runtime introspection API which returns
DTOs of what's registered.

look for a service registered under interface:

org.osgi.service.http.runtime.HttpServiceRuntime


- Ray

On Wed, Jun 1, 2016 at 4:24 PM, David Daniel <david.daniel.1...@gmail.com>
wrote:

> Is it possible to find out what servlets have been registered with the
> httpservice.  I am dynamically registering servlets and want to verify that
> a servlet has not already been registered with the same path.  Is there a
> way to query the httpservice for all servlet paths that are registered,
> should I be keeping that information elsewhere or is there a tracker of
> some sort.
>
> Thanks for any help,
>   David
>



-- 
*Raymond Augé* <http://www.liferay.com/web/raymond.auge/profile>
 (@rotty3000)
Senior Software Architect *Liferay, Inc.* <http://www.liferay.com>
 (@Liferay)
Board Member & EEG Co-Chair, OSGi Alliance <http://osgi.org> (@OSGiAlliance)

Reply via email to