OSGiDispatcherServlet¶
-
public class
OSGiDispatcherServlet
extends DispatcherServlet¶ This class extends Spring’s
org.springframework.web.servlet.DispatcherServlet
and is used by MOTECH for registering HTTP endpoints. This extension adds support for OSGi by making sure thatMotechOSGiWebApplicationContext
instances are connected with their parent context instances, created by the Gemini Extender. It also injects the bundle context into those contexts.
Constructors¶
OSGiDispatcherServlet¶
-
public
OSGiDispatcherServlet
(BundleContext bundleContext)¶
OSGiDispatcherServlet¶
-
public
OSGiDispatcherServlet
(BundleContext bundleContext, ConfigurableWebApplicationContext configurableWebApplicationContext)¶