@Singleton public class OsgiWebInitializer extends Object
Modifier and Type | Field and Description |
---|---|
static String |
PROMETHEUS_METRICS_URL |
Constructor and Description |
---|
OsgiWebInitializer(org.osgi.service.http.HttpService osgiHttpService,
io.prometheus.client.CollectorRegistry collectorRegistry) |
public static final String PROMETHEUS_METRICS_URL
@Inject public OsgiWebInitializer(org.osgi.service.http.HttpService osgiHttpService, io.prometheus.client.CollectorRegistry collectorRegistry)
@PostConstruct public void init() throws javax.servlet.ServletException, org.osgi.service.http.NamespaceException
javax.servlet.ServletException
org.osgi.service.http.NamespaceException
@PreDestroy public void close()
Copyright © 2019 OpenDaylight. All rights reserved.