Class RemoteMethod

  • All Implemented Interfaces:
    org.wurbelizer.wurblet.Wurblet

    public class RemoteMethod
    extends DbModelWurblet
    (@wurblet) Generates the remote delegate invocation code.

    In order for this wurblet to work, the method must be annotated with @RemoteMethod.

    usage:
    @wurblet <tag> RemoteMethod [--this] [--nocontext] [--instance=<object>]

    arguments:

    • --this: add the PDO itself to the method parameters.
    • --nocontext: don't pass the DomainContext.
    • --instance=<object>: object to invoke the method on in the remote implementation.
    For more options, see DbModelWurblet.
    • Constructor Detail

      • RemoteMethod

        public RemoteMethod()
    • Method Detail

      • run

        public void run()
                 throws org.wurbelizer.wurbel.WurbelException
        Specified by:
        run in interface org.wurbelizer.wurblet.Wurblet
        Overrides:
        run in class DbModelWurblet
        Throws:
        org.wurbelizer.wurbel.WurbelException