Class RegisteredService<S,​T>

  • Type Parameters:
    S - Interface of the registered service
    T - Actual type of the service

    public class RegisteredService<S,​T>
    extends Object
    Class keeping both the service and it's ServiceRegistration
    • Constructor Detail

      • RegisteredService

        public RegisteredService​(T service,
                                 org.osgi.framework.ServiceRegistration<S> registration)
    • Method Detail

      • getService

        public T getService()
      • getRegistration

        public org.osgi.framework.ServiceRegistration<S> getRegistration()