All Downloads are FREE. Search and download functionalities are using the official Maven repository.

pl.touk.nussknacker.engine.api.Lifecycle.scala Maven / Gradle / Ivy

There is a newer version: 1.18.0
Show newest version
package pl.touk.nussknacker.engine.api

import pl.touk.nussknacker.engine.api.runtimecontext.EngineRuntimeContext

/*
  Currently handling Lifecycle is supported in following cases:
  - Service
  - EspExceptionHandler
  - ProcessListener
  Please note that extending this trait in e.g. Sources, Sinks or CustomTransformers *won't* work.
 */
trait Lifecycle extends AutoCloseable {

  def open(context: EngineRuntimeContext): Unit = {}

  def close(): Unit = {}

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy