Interface DataService

All Known Implementing Classes:
ApplyDataService, InitialDataService, RpcDataService

public interface DataService
Common interface for all data service types.
Author:
Martin Horn, KNIME GmbH, Konstanz, Germany
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Interface
    Description
    static interface 
    Common interface for all data service builder types.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Called whenever the data service can free-up resources.
    void
    Called whenever the data service won't be used anymore.
  • Method Details

    • dispose

      void dispose()
      Called whenever the data service won't be used anymore. I.e. resources can be freed-up such as clearing caches or shutting down external processes etc.
    • deactivate

      void deactivate()
      Called whenever the data service can free-up resources. E.g. clearing caches or shutting down external processes etc. Though, it does not necessarily mean, that the data service instance is not used anymore some time later.