Stardust provides a runtime extension management based on the classpath. It is possible to disable extensions being present in the classpath and cache resolved extensions by configuration.
To configure service lookup, there are two properties available, which you can
set in your carnot.properties file:
This property can contain a comma separated list of implementation classes. This may be used to resolve providers which:
META-INF/services/<fully.qualified.InterfaceName>
descriptor, or whose descriptor cannot be found during classpath introspection.Refer to chapter Configuring SPI Implementations per Tenant for details on how to add a custom SPI implementation to your runtime.
This property can contain a comma separated list of implementation classes which should be removed from the list of resolved providers.
The list of resolved providers can be stored in the
<fully.qualified.InterfaceName>.ResolvedExtensionProviders parameter
to prevent classpath inspections to be performed multiple times.
Any reinitialization of the engine, including parameters, will reset the provider cache.