Class LibJitsiOSGiImpl


  • public class LibJitsiOSGiImpl
    extends LibJitsiImpl
    Represents an implementation of the libjitsi library which utilizes OSGi.
    Author:
    Lyubomir Marinov
    • Constructor Detail

      • LibJitsiOSGiImpl

        public LibJitsiOSGiImpl​(org.osgi.framework.BundleContext bundleContext)
        Initializes a new LibJitsiOSGiImpl instance with a specific BundleContext.
        Parameters:
        bundleContext - the BundleContext to be used by the new instance to look for registered services
    • Method Detail

      • getService

        protected <T> T getService​(Class<T> serviceClass)
        Gets a service of a specific type associated with this implementation of the libjitsi library.
        Overrides:
        getService in class LibJitsiImpl
        Parameters:
        serviceClass - the type of the service to be retrieved
        Returns:
        a service of the specified type if there is such an association known to this implementation of the libjitsi library; otherwise, null