com.sun.grizzly.osgi.httpservice
Class HttpServiceFactory

java.lang.Object
  extended by com.sun.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
HttpServiceFactory(GrizzlyWebServer ws, Logger logger, org.osgi.framework.Bundle bundle)
           
 
Method Summary
 org.osgi.service.http.HttpService getService(org.osgi.framework.Bundle bundle, org.osgi.framework.ServiceRegistration serviceRegistration)
           
 void stop()
          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 Detail

HttpServiceFactory

public HttpServiceFactory(GrizzlyWebServer ws,
                          Logger logger,
                          org.osgi.framework.Bundle bundle)
Method Detail

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.



Copyright © 2012 Oracle Corporation. All Rights Reserved.