vertx / io.vertx.core / ServiceHelper

ServiceHelper

open class ServiceHelper

A helper class for loading factories from the classpath and from the vert.x OSGi bundle.

Author
Tim Fox

Constructors

<init>

ServiceHelper()

A helper class for loading factories from the classpath and from the vert.x OSGi bundle.

Functions

loadFactories

open static fun <T : Any> loadFactories(clazz: Class<T>): MutableCollection<T>
open static fun <T : Any> loadFactories(clazz: Class<T>, classLoader: ClassLoader): MutableCollection<T>

loadFactory

open static fun <T : Any> loadFactory(clazz: Class<T>): T

loadFactoryOrNull

open static fun <T : Any> loadFactoryOrNull(clazz: Class<T>): T