Class ServiceRegistrationImpl<S>

  • All Implemented Interfaces:
    org.osgi.framework.ServiceRegistration<S>

    public class ServiceRegistrationImpl<S>
    extends Object
    implements org.osgi.framework.ServiceRegistration<S>
    Author:
    Lyubomir Marinov
    • Constructor Detail

      • ServiceRegistrationImpl

        public ServiceRegistrationImpl​(BundleImpl bundle,
                                       long serviceId,
                                       String[] classNames,
                                       S service,
                                       Dictionary<String,​?> properties)
    • Method Detail

      • getReference

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

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

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