com.r3corda.core.node / CordaPluginRegistry / webApis

webApis

abstract val webApis: List<Class<*>>

List of JAX-RS classes inside the contract jar. They are expected to have a single parameter constructor that takes a ServiceHub as input. These are listed as Class<*>, because they will be instantiated inside an AttachmentClassLoader so that subsequent protocols, contracts, etc will be running in the appropriate isolated context.