Class ScrManagedServiceServiceFactory

  • All Implemented Interfaces:
    org.osgi.framework.ServiceFactory<ScrManagedService>

    public class ScrManagedServiceServiceFactory
    extends Object
    implements org.osgi.framework.ServiceFactory<ScrManagedService>
    The ScrManagedServiceServiceFactory is the ServiceFactory registered on behalf of the ScrManagedService (or ScrManagedServiceMetaTypeProvider, resp.) to create the instance on demand once it is used by the Configuration Admin Service or the MetaType Service.

    In contrast to the ScrManagedService and ScrManagedServiceMetaTypeProvider classes, this class only requires core OSGi API and thus may be instantiated without the Configuration Admin and/or MetaType Service API actually available at the time of instantiation.

    • Method Detail

      • ungetService

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