Interface Factory.Context
-
- All Known Implementing Classes:
FactoryHelper.DefaultContext
- Enclosing interface:
- Factory
@PublicEvolving public static interface Factory.Context
Provides session information describing the factory to be accessed.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description ClassLoadergetClassLoader()Returns the class loader of the current session.ConfigurationgetFactoryConfiguration()Returns the factory options used to create the object instances.default org.apache.flink.configuration.ReadableConfiggetFlinkConf()Returns the flink configuration of the current session.ConfigurationgetPipelineConfiguration()Returns the configuration of current pipeline.
-
-
-
Method Detail
-
getFactoryConfiguration
Configuration getFactoryConfiguration()
Returns the factory options used to create the object instances.- Returns:
- options of the current session.
-
getPipelineConfiguration
Configuration getPipelineConfiguration()
Returns the configuration of current pipeline.
-
getClassLoader
ClassLoader getClassLoader()
Returns the class loader of the current session.The class loader is in particular useful for discovering factories.
-
getFlinkConf
default org.apache.flink.configuration.ReadableConfig getFlinkConf()
Returns the flink configuration of the current session.
-
-