Package org.kie.internal.runtime

# Interface Closeable

public interface Closeable
Allows various components (e.g. work item handlers, event listeners) to be closed when owning component (ksession) is being closed/disposed. This interface marks an component that is lightweight and it's safe and wise (from performance point of view) to be frequently recreated.

See Also:
  - `is an alternative that allows to keep single instnace te be cached and reused to avoid recreation`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `void`
  `close()`
  Closes the underlying resources

- ## Method Details

  - ### close

    void close()
    Closes the underlying resources