RPRequest request = new RPRequest( null, "getSingleton", null ); RPReply reply = dispatcher.dispatch( request ); RPPluginInterface pi = (RPPluginInterface)reply.getResponse(); pi._setRemote( dispatcher ); return( pi );