Class StoppableHttpServiceFactory
- java.lang.Object
-
- org.ops4j.pax.web.service.internal.StoppableHttpServiceFactory
-
- All Implemented Interfaces:
org.osgi.framework.ServiceFactory<StoppableHttpService>
public abstract class StoppableHttpServiceFactory extends Object implements org.osgi.framework.ServiceFactory<StoppableHttpService>
ServiceFactorythat manages bundle-scoped lifecycle ofHttpService.
-
-
Constructor Summary
Constructors Constructor Description StoppableHttpServiceFactory(org.ops4j.pax.web.service.spi.ServerController serverController, org.ops4j.pax.web.service.spi.model.ServerModel serverModel, WebElementEventDispatcher webElementEventDispatcher)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StoppableHttpServicegetService(org.osgi.framework.Bundle bundle, org.osgi.framework.ServiceRegistration<StoppableHttpService> serviceRegistration)voidungetService(org.osgi.framework.Bundle bundle, org.osgi.framework.ServiceRegistration<StoppableHttpService> serviceRegistration, StoppableHttpService httpService)
-
-
-
Constructor Detail
-
StoppableHttpServiceFactory
public StoppableHttpServiceFactory(org.ops4j.pax.web.service.spi.ServerController serverController, org.ops4j.pax.web.service.spi.model.ServerModel serverModel, WebElementEventDispatcher webElementEventDispatcher)
-
-
Method Detail
-
getService
public StoppableHttpService getService(org.osgi.framework.Bundle bundle, org.osgi.framework.ServiceRegistration<StoppableHttpService> serviceRegistration)
- Specified by:
getServicein interfaceorg.osgi.framework.ServiceFactory<StoppableHttpService>
-
ungetService
public void ungetService(org.osgi.framework.Bundle bundle, org.osgi.framework.ServiceRegistration<StoppableHttpService> serviceRegistration, StoppableHttpService httpService)- Specified by:
ungetServicein interfaceorg.osgi.framework.ServiceFactory<StoppableHttpService>
-
-