Class RemoteMethod

java.lang.Object
org.wurbelizer.wurblet.AbstractWurblet
org.wurbelizer.wurblet.AbstractJavaWurblet
org.tentackle.wurblet.ModelWurblet
org.tentackle.persist.wurblet.DbModelWurblet
org.tentackle.persist.wurblet.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 Details

    • RemoteMethod

      public RemoteMethod()
  • Method Details

    • 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