Interface AbstractRemotePluginSpi

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      java.lang.String executeRemotely​(java.lang.String jsonData)
      Forwards the provided JSON data to the associated distributed local service.
      java.lang.String getName()
      Gets the name of the distributed remote plugin extension.
      void onUnregister()
      Invoked when unregistering the plugin.
    • Method Detail

      • getName

        java.lang.String getName()
        Gets the name of the distributed remote plugin extension.
        Returns:
        A not empty string.
        Since:
        2.0.0
      • executeRemotely

        java.lang.String executeRemotely​(java.lang.String jsonData)
        Forwards the provided JSON data to the associated distributed local service.
        Parameters:
        jsonData - A JSON string containing the data to transmit.
        Returns:
        A JSON string containing the response received from the distributed local service. It can be empty if the command returns nothing.
        Since:
        2.0.0
      • onUnregister

        void onUnregister()
        Invoked when unregistering the plugin.
        Since:
        2.0.0