@Override
    public void setAdditionalNamespaces(@Nonnull final Set<Namespace> additionalNamespaces) {
        this.additionalNamespaces.clear();
        this.additionalNamespaces.addAll(additionalNamespaces);
    }
Returns the session that owns this connection, if the connection has been initialized.

@return session that owns this connection.
xmppserver/src/main/java/org/jivesoftware/openfire/net/AbstractConnection.java