Interface OsgiServiceProxyFactory

  • All Known Implementing Classes:
    OsgiServiceProxyFactoryImpl

    public interface OsgiServiceProxyFactory
    Creates proxies to OSGi services.
    • Method Detail

      • createNonIsolatingProxy

        <T> T createNonIsolatingProxy​(Class<T> apiClass,
                                      long timeoutInMillis)
        Creates a service proxy with a custom timeout. Methods of this proxy will be executed within the classloader of the caller.
      • createProxy

        <T> T createProxy​(Class<T> apiClass)
        Creates a service proxy with a default timeout.
      • createProxy

        <T> T createProxy​(Class<T> apiClass,
                          long timeoutInMillis)
        Creates a service proxy with a custom timeout. Methods of this proxy will be executed within the classloader of the OSGi bundle.