public final class HttpServiceFactory extends Object implements org.osgi.framework.ServiceFactory<org.osgi.service.http.HttpService>
| Modifier and Type | Field and Description |
|---|---|
static String |
HTTP_SERVICE_CONTEXT_NAME |
static long |
HTTP_SERVICE_CONTEXT_SERVICE_ID |
| Constructor and Description |
|---|
HttpServiceFactory(org.osgi.framework.BundleContext bundleContext,
HandlerRegistry handlerRegistry) |
| Modifier and Type | Method and Description |
|---|---|
long |
getHttpServiceServiceId() |
org.osgi.service.http.HttpService |
getService(org.osgi.framework.Bundle bundle,
org.osgi.framework.ServiceRegistration<org.osgi.service.http.HttpService> reg) |
void |
start(javax.servlet.ServletContext context,
@NotNull Hashtable<String,Object> props) |
void |
stop() |
void |
ungetService(org.osgi.framework.Bundle bundle,
org.osgi.framework.ServiceRegistration<org.osgi.service.http.HttpService> reg,
org.osgi.service.http.HttpService service) |
public static final String HTTP_SERVICE_CONTEXT_NAME
public static final long HTTP_SERVICE_CONTEXT_SERVICE_ID
public HttpServiceFactory(org.osgi.framework.BundleContext bundleContext,
HandlerRegistry handlerRegistry)
public void start(javax.servlet.ServletContext context,
@NotNull
@NotNull Hashtable<String,Object> props)
public void stop()
public org.osgi.service.http.HttpService getService(org.osgi.framework.Bundle bundle,
org.osgi.framework.ServiceRegistration<org.osgi.service.http.HttpService> reg)
getService in interface org.osgi.framework.ServiceFactory<org.osgi.service.http.HttpService>public void ungetService(org.osgi.framework.Bundle bundle,
org.osgi.framework.ServiceRegistration<org.osgi.service.http.HttpService> reg,
org.osgi.service.http.HttpService service)
ungetService in interface org.osgi.framework.ServiceFactory<org.osgi.service.http.HttpService>public long getHttpServiceServiceId()
Copyright © 2006–2021 The Apache Software Foundation. All rights reserved.