Class ServicePair<T>


  • public class ServicePair<T>
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      ServicePair​(org.osgi.framework.BundleContext context, org.osgi.framework.ServiceReference serviceRef)  
      ServicePair​(org.osgi.framework.BundleContext context, org.osgi.framework.ServiceReference serviceRef, T service)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      T get()  
      org.osgi.framework.ServiceReference getReference()  
      boolean isValid()  
      void unget()  
      • Methods inherited from class java.lang.Object

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

      • ServicePair

        public ServicePair​(org.osgi.framework.BundleContext context,
                           org.osgi.framework.ServiceReference serviceRef)
      • ServicePair

        public ServicePair​(org.osgi.framework.BundleContext context,
                           org.osgi.framework.ServiceReference serviceRef,
                           T service)
    • Method Detail

      • get

        public T get()
      • isValid

        public boolean isValid()
      • unget

        public void unget()
      • getReference

        public org.osgi.framework.ServiceReference getReference()