Class CloseableInvoker

  • All Implemented Interfaces:
    Closeable, AutoCloseable
    Direct Known Subclasses:
    FillInvoker, SearchInvoker

    public abstract class CloseableInvoker
    extends Object
    implements Closeable
    CloseableInvoker is an abstract implementation of Closeable with an additional hook for executing code at closing. Classes that extend CloseableInvoker need to override release() instead of close() which is final to avoid accidental overriding.
    Author:
    ollivir
    • Constructor Detail

      • CloseableInvoker

        public CloseableInvoker()
    • Method Detail

      • release

        protected abstract void release()
      • setFinalStatus

        protected void setFinalStatus​(boolean success)