org.apache.cocoon.core.osgi
Class OSGiCoreServiceManager.ComponentHandlerFactory

java.lang.Object
  extended byorg.apache.cocoon.core.osgi.OSGiCoreServiceManager.ComponentHandlerFactory
All Implemented Interfaces:
org.osgi.framework.ServiceFactory
Enclosing class:
OSGiCoreServiceManager

public static class OSGiCoreServiceManager.ComponentHandlerFactory
extends Object
implements org.osgi.framework.ServiceFactory

An OSGi service factory implemented on top of a ComponentHandler.

Author:
sylvain

Constructor Summary
OSGiCoreServiceManager.ComponentHandlerFactory(ComponentHandler handler)
           
 
Method Summary
 Object getService(org.osgi.framework.Bundle bundle, org.osgi.framework.ServiceRegistration reg)
           
 void ungetService(org.osgi.framework.Bundle bundle, org.osgi.framework.ServiceRegistration reg, Object obj)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OSGiCoreServiceManager.ComponentHandlerFactory

public OSGiCoreServiceManager.ComponentHandlerFactory(ComponentHandler handler)
Method Detail

getService

public Object getService(org.osgi.framework.Bundle bundle,
                         org.osgi.framework.ServiceRegistration reg)
Specified by:
getService in interface org.osgi.framework.ServiceFactory

ungetService

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


Copyright ? 1999-2005 The Apache Software Foundation. All Rights Reserved.