Interface DisposalCallbackRegistry


  • @ConsumerType
    public interface DisposalCallbackRegistry
    Interface which allows for the registration of DisposalCallback listeners. This interface should not be implemnted by clients.
    • Method Detail

      • addDisposalCallback

        void addDisposalCallback​(@NotNull
                                 @NotNull DisposalCallback callback)
        Register a callback.
        Parameters:
        callback - the callback to register