Class OSGiService<T>

  • All Implemented Interfaces:
    org.junit.rules.TestRule

    public class OSGiService<T>
    extends Service
    Improved variant of the Service class that uses generics. The {#link TeleporterRule} also provides access to OSGi services for server-side tests, in a more integrated way.
    • Method Detail

      • ofClass

        public static <T> OSGiService<T> ofClass​(java.lang.Class<T> clazz)
      • get

        public T get()