-
public interface Plugin
Configures and creates a plugin.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description reactor.core.publisher.Mono<PluginMetadata>
metadata()
Gets the metadata of this plugin.com.github.alex1304.rdi.ServiceReference<?>
rootService()
Defines the root service of the plugin.
-
-
-
Method Detail
-
rootService
com.github.alex1304.rdi.ServiceReference<?> rootService()
Defines the root service of the plugin.- Returns:
- the reference to the root service
-
metadata
reactor.core.publisher.Mono<PluginMetadata> metadata()
Gets the metadata of this plugin. May be generated from an asynchronous source, but implementors are encouraged to cache the object for future calls. It is also encouraged to consistently return the same data when called several times in the same running JVM.- Returns:
- a Mono emitting the metadata of this plugin.
-
-