org.milyn
Class SmooksServiceFactory

java.lang.Object
  extended by org.milyn.SmooksServiceFactory
All Implemented Interfaces:
org.osgi.framework.ServiceFactory

public class SmooksServiceFactory
extends Object
implements org.osgi.framework.ServiceFactory

SmooksServiceFactory is a ServiceFactory implementation that enables the creation of per-bundle SmooksOSGIFactory implementations.

Author:
Daniel Bevenius

Constructor Summary
SmooksServiceFactory()
           
 
Method Summary
 Object getService(org.osgi.framework.Bundle bundle, org.osgi.framework.ServiceRegistration registration)
          Will return a SmooksOSGIFactory instance configured with the Bundle.
 void ungetService(org.osgi.framework.Bundle bundle, org.osgi.framework.ServiceRegistration registration, Object service)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SmooksServiceFactory

public SmooksServiceFactory()
Method Detail

getService

public Object getService(org.osgi.framework.Bundle bundle,
                         org.osgi.framework.ServiceRegistration registration)
Will return a SmooksOSGIFactory instance configured with the Bundle.

Specified by:
getService in interface org.osgi.framework.ServiceFactory
Parameters:
bundle - the OSGi bundle.
registration - the OSGi registration.
Returns:
SmooksOSGIFactory that has been configured using the passed-in Bundle.

ungetService

public void ungetService(org.osgi.framework.Bundle bundle,
                         org.osgi.framework.ServiceRegistration registration,
                         Object service)
Specified by:
ungetService in interface org.osgi.framework.ServiceFactory


Copyright © 2014. All Rights Reserved.