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 Details

    • createInitialDataService

      <D> Optional<InitialDataService<D>> createInitialDataService()
      Creates the initial data service instance. A NodeContext is 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. A NodeContext is available when this method is called.
      Returns:
      optional service generally providing data to the node view, port view or node dialog;
    • createApplyDataService

      <D> Optional<ApplyDataService<D>> createApplyDataService()
      Creates the apply data service instance. A NodeContext is available when this method is called.
      Returns:
      optional service to apply new data