Class HttpServiceFactory
java.lang.Object
org.glassfish.grizzly.osgi.httpservice.HttpServiceFactory
- All Implemented Interfaces:
org.osgi.framework.ServiceFactory
Grizzly OSGi
HttpService ServiceFactory.- Since:
- Jan 20, 2009
- Author:
- Hubert Iwaniuk
-
Constructor Summary
ConstructorsConstructorDescriptionHttpServiceFactory(org.glassfish.grizzly.http.server.HttpServer httpServer, Logger logger, org.osgi.framework.Bundle bundle) -
Method Summary
Modifier and TypeMethodDescriptionorg.osgi.service.http.HttpServicegetService(org.osgi.framework.Bundle bundle, org.osgi.framework.ServiceRegistration serviceRegistration) voidstop()Clean up.voidungetService(org.osgi.framework.Bundle bundle, org.osgi.framework.ServiceRegistration serviceRegistration, Object httpServiceObj)
-
Constructor Details
-
HttpServiceFactory
public HttpServiceFactory(org.glassfish.grizzly.http.server.HttpServer httpServer, Logger logger, org.osgi.framework.Bundle bundle)
-
-
Method Details
-
getService
public org.osgi.service.http.HttpService getService(org.osgi.framework.Bundle bundle, org.osgi.framework.ServiceRegistration serviceRegistration) - Specified by:
getServicein interfaceorg.osgi.framework.ServiceFactory
-
ungetService
public void ungetService(org.osgi.framework.Bundle bundle, org.osgi.framework.ServiceRegistration serviceRegistration, Object httpServiceObj) - Specified by:
ungetServicein interfaceorg.osgi.framework.ServiceFactory
-
stop
public void stop()Clean up.
-