Class ServiceRegistrationImpl

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

    public class ServiceRegistrationImpl
    extends Object
    implements org.osgi.framework.ServiceRegistration
    Dummy service registration impl.
    Author:
    Bogdan Stefanescu
    • Constructor Detail

      • ServiceRegistrationImpl

        public ServiceRegistrationImpl​(OSGiAdapter osgi,
                                       org.osgi.framework.Bundle bundle,
                                       String[] classes,
                                       Object service)
    • Method Detail

      • getReference

        public org.osgi.framework.ServiceReference getReference()
        Specified by:
        getReference in interface org.osgi.framework.ServiceRegistration
      • setProperties

        public void setProperties​(Dictionary properties)
        Specified by:
        setProperties in interface org.osgi.framework.ServiceRegistration
      • unregister

        public void unregister()
        Specified by:
        unregister in interface org.osgi.framework.ServiceRegistration