Package org.apache.flink.core.plugin
Interface Plugin
-
- All Known Subinterfaces:
FailureEnricherFactory
,FileSystemFactory
- All Known Implementing Classes:
AbstractAzureFSFactory
,AbstractS3FileSystemFactory
,AnotherDummyFSFactory
,AzureBlobStorageFSFactory
,AzureDataLakeStoreGen2FSFactory
,ConnectionLimitingFactory
,CustomTestFailureEnricherFactory
,DummyFSFactory
,GSFileSystemFactory
,HadoopFsFactory
,LocalFileSystemFactory
,OSSFileSystemFactory
,PluginFileSystemFactory
,S3AFileSystemFactory
,S3FileSystemFactory
,S3FileSystemFactory
,S3PFileSystemFactory
,SecureAzureBlobStorageFSFactory
,SecureAzureDataLakeStoreGen2FSFactory
@PublicEvolving public interface Plugin
Interface for plugins. Plugins typically extend this interface in their SPI and the concrete implementations of a service then implement the SPI contract.
-
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default void
configure(Configuration config)
Optional method for plugins to pick up settings from the configuration.default ClassLoader
getClassLoader()
Helper method to get the class loader used to load the plugin.
-
-
-
Method Detail
-
getClassLoader
default ClassLoader getClassLoader()
Helper method to get the class loader used to load the plugin. This may be needed for some plugins that use dynamic class loading afterwards the plugin was loaded.- Returns:
- the class loader used to load the plugin.
-
configure
default void configure(Configuration config)
Optional method for plugins to pick up settings from the configuration.- Parameters:
config
- The configuration to apply to the plugin.
-
-