Package org.knime.core.webui.data
Interface DataServiceProvider
- All Known Subinterfaces:
NodeTableView,NodeView,PortView
- All Known Implementing Classes:
TableNodeView
public interface DataServiceProvider
Provides different types of data services. Data service instances are only created once per node or port instance!
- Author:
- Martin Horn, KNIME GmbH, Konstanz, Germany
-
Method Summary
Modifier and TypeMethodDescription<D> Optional<ApplyDataService<D>>Creates the apply data service instance.<D> Optional<InitialDataService<D>>Creates the initial data service instance.Creates the rpc data service instance.
-
Method Details
-
createInitialDataService
Creates the initial data service instance. ANodeContextis available when this method is called.- Returns:
- optional service that provides data for initialization of the node view, port view or node dialog.
-
createRpcDataService
Optional<RpcDataService> createRpcDataService()Creates the rpc data service instance. ANodeContextis available when this method is called.- Returns:
- optional service generally providing data to the node view, port view or node dialog;
-
createApplyDataService
Creates the apply data service instance. ANodeContextis available when this method is called.- Returns:
- optional service to apply new data
-