Class ComponentInstanceImpl.OSGiServiceFactory

java.lang.Object
org.nuxeo.runtime.model.impl.ComponentInstanceImpl.OSGiServiceFactory
All Implemented Interfaces:
org.osgi.framework.ServiceFactory
Enclosing class:
ComponentInstanceImpl

protected class ComponentInstanceImpl.OSGiServiceFactory extends Object implements org.osgi.framework.ServiceFactory
  • Field Details

    • clazz

      protected Class<?> clazz
    • reg

      protected org.osgi.framework.ServiceRegistration reg
  • Constructor Details

    • OSGiServiceFactory

      public OSGiServiceFactory(String className)
    • OSGiServiceFactory

      public OSGiServiceFactory(org.osgi.framework.Bundle bundle, String className)
  • Method Details

    • getService

      public Object getService(org.osgi.framework.Bundle bundle, org.osgi.framework.ServiceRegistration registration)
      Specified by:
      getService in interface org.osgi.framework.ServiceFactory
    • 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
    • register

      public void register()
    • unregister

      public void unregister()