public void addTerminationDelegate(@Nonnull final TerminationDelegate delegate)
    {
        terminationDelegates.add(delegate);
    }
Adds a new delegate that can determine if a detached session can be terminated. When no such delegate is
registered for a session, the server default behavior will determine if a detached session can be terminated.

This method will add delegates, unless the new delegate is equal to a previously registered delegate. In such
case, this method will silently ignore the invocation.

@param delegate the delegate to register with the session
xmppserver/src/main/java/org/jivesoftware/openfire/streammanagement/StreamManager.java