Class HttpServiceFactory

java.lang.Object
org.glassfish.grizzly.osgi.httpservice.HttpServiceFactory
All Implemented Interfaces:
org.osgi.framework.ServiceFactory

public class HttpServiceFactory extends Object implements org.osgi.framework.ServiceFactory
Grizzly OSGi HttpService ServiceFactory.
Since:
Jan 20, 2009
Author:
Hubert Iwaniuk
  • Constructor Summary

    Constructors
    Constructor
    Description
    HttpServiceFactory(org.glassfish.grizzly.http.server.HttpServer httpServer, Logger logger, org.osgi.framework.Bundle bundle)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    org.osgi.service.http.HttpService
    getService(org.osgi.framework.Bundle bundle, org.osgi.framework.ServiceRegistration serviceRegistration)
     
    void
    Clean up.
    void
    ungetService(org.osgi.framework.Bundle bundle, org.osgi.framework.ServiceRegistration serviceRegistration, Object httpServiceObj)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 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:
      getService in interface org.osgi.framework.ServiceFactory
    • ungetService

      public void ungetService(org.osgi.framework.Bundle bundle, org.osgi.framework.ServiceRegistration serviceRegistration, Object httpServiceObj)
      Specified by:
      ungetService in interface org.osgi.framework.ServiceFactory
    • stop

      public void stop()
      Clean up.