@Override
    public ExternalComponent getExternalComponent() {
        return component;
    }
Returns the connection associated with this Session.

@return The connection for this session
xmppserver/src/main/java/org/jivesoftware/openfire/session/LocalComponentSession.java