public RmiRegistry getRmiRegistry( HostedConnection hc ) {
        return hc.getAttribute(ATTRIBUTE_NAME);
    }
Returns the RMI registry for the specific HostedConnection.  Each connection
 has its own registry with its own connection-specific shared objects.
jme3-networking/src/main/java/com/jme3/network/service/rmi/RmiHostedService.java