public abstract class StoppableHttpServiceFactory extends Object implements org.osgi.framework.ServiceFactory<StoppableHttpService>
ServiceFactory that manages bundle-scoped lifecycle of HttpService.| Constructor and Description |
|---|
StoppableHttpServiceFactory(org.ops4j.pax.web.service.spi.ServerController serverController,
org.ops4j.pax.web.service.spi.model.ServerModel serverModel,
WebElementEventDispatcher webElementEventDispatcher) |
| Modifier and Type | Method and Description |
|---|---|
StoppableHttpService |
getService(org.osgi.framework.Bundle bundle,
org.osgi.framework.ServiceRegistration<StoppableHttpService> serviceRegistration) |
void |
ungetService(org.osgi.framework.Bundle bundle,
org.osgi.framework.ServiceRegistration<StoppableHttpService> serviceRegistration,
StoppableHttpService httpService) |
public StoppableHttpServiceFactory(org.ops4j.pax.web.service.spi.ServerController serverController,
org.ops4j.pax.web.service.spi.model.ServerModel serverModel,
WebElementEventDispatcher webElementEventDispatcher)
public StoppableHttpService getService(org.osgi.framework.Bundle bundle, org.osgi.framework.ServiceRegistration<StoppableHttpService> serviceRegistration)
getService in interface org.osgi.framework.ServiceFactory<StoppableHttpService>public void ungetService(org.osgi.framework.Bundle bundle,
org.osgi.framework.ServiceRegistration<StoppableHttpService> serviceRegistration,
StoppableHttpService httpService)
ungetService in interface org.osgi.framework.ServiceFactory<StoppableHttpService>Copyright © 2006–2023 OPS4J - Open Participation Software for Java. All rights reserved.