public Set<TerminationDelegate> getTerminationDelegates()
    {
        return new HashSet<>(terminationDelegates);
    }
Returns a defensive copy of all delegates that can determine if a detached session can be terminated.

@return all delegates that can determine if a detached session can be terminated.
xmppserver/src/main/java/org/jivesoftware/openfire/streammanagement/StreamManager.java