<method> define a remote method

name
method
xml namespace
http://moyaproject.com/jsonrpc

Exposes a single method on a JSON RPC interface.

This tag should appear within a <interface>, or set the interface attribute to reference an interface.

Example

<rpc:method name="time">
    <rpc:parameter name="format" type="string" default="medium" required="yes">
        Time format to return
    </rpc:parameter>
    <return-str>${.now::format}</return-str>
</rpc:method>
attributes
name purpose type required? default choices
call Macro to call for functionality element reference No
description Brief description of method text No ""
group Method group text No
interface Interface element reference No
name Name of exposed method text Yes
inherited attributes
name purpose type required? default choices
if Conditional expression expression No yes