Class ScrMetaTypeProviderServiceFactory

  • All Implemented Interfaces:
    org.osgi.framework.ServiceFactory

    public class ScrMetaTypeProviderServiceFactory
    extends java.lang.Object
    implements org.osgi.framework.ServiceFactory
    The ScrMetaTypeProviderServiceFactory is a ServiceFactory registered on behalf of ScrConfiguration to create a metatype provider instance on demand once it is used by the Metatype Service.

    In contrast to the ScrMetaTypeProvider class, this class only requires core OSGi API and thus may be instantiated without the MetaType Service API actually available at the time of instantiation.

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.Object getService​(org.osgi.framework.Bundle bundle, org.osgi.framework.ServiceRegistration registration)  
      void ungetService​(org.osgi.framework.Bundle bundle, org.osgi.framework.ServiceRegistration registration, java.lang.Object service)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ScrMetaTypeProviderServiceFactory

        public ScrMetaTypeProviderServiceFactory​(ScrConfiguration scrConfiguration)
    • Method Detail

      • getService

        public java.lang.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,
                                 java.lang.Object service)
        Specified by:
        ungetService in interface org.osgi.framework.ServiceFactory