Class OsgiWebInitializer
- java.lang.Object
-
- org.opendaylight.infrautils.diagstatus.web.OsgiWebInitializer
-
@Singleton public class OsgiWebInitializer extends Object
Initializes and registers theDiagStatusServlet.This implementation uses the OSGi
HttpServicedirectly, because our WebContext and WebServer abstraction are in AAA, and we don't want to have a dependency to AAA from infrautils.- Author:
- Michael Vorburger.ch
-
-
Constructor Summary
Constructors Constructor Description OsgiWebInitializer(org.osgi.service.http.HttpService osgiHttpService, DiagStatusService diagStatusService)
-
-
-
Constructor Detail
-
OsgiWebInitializer
@Inject public OsgiWebInitializer(org.osgi.service.http.HttpService osgiHttpService, DiagStatusService diagStatusService) throws javax.servlet.ServletException, org.osgi.service.http.NamespaceException- Throws:
javax.servlet.ServletExceptionorg.osgi.service.http.NamespaceException
-
-