io.vertx.core

## Class ServiceHelper

- java.lang.Object
- - io.vertx.core.ServiceHelper

-     public class ServiceHelper
      extends Object

  A helper class for loading factories from the classpath.
  Author:
    Tim Fox

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `ServiceHelper()`

  - ### Method Summary

    All Methods Static Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `static <T> Collection<T>` | `loadFactories(Class<T> clazz)`
    `static <T> Collection<T>` | `loadFactories(Class<T> clazz, ClassLoader classLoader)`
    `static <T> T` | `loadFactory(Class<T> clazz)`
    `static <T> T` | `loadFactoryOrNull(Class<T> clazz)`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### ServiceHelper

          public ServiceHelper()

  - ### Method Detail

    - #### loadFactory

          public static <T> T loadFactory(Class<T> clazz)

    - #### loadFactoryOrNull

          public static <T> T loadFactoryOrNull(Class<T> clazz)

    - #### loadFactories

          public static <T> Collection<T> loadFactories(Class<T> clazz)

    - #### loadFactories

          public static <T> Collection<T> loadFactories(Class<T> clazz,
                                                        ClassLoader classLoader)

Copyright © 2023 Eclipse. All rights reserved.