Annotation Interface ParamFunctionInvoker


@Target(TYPE) @Retention(RUNTIME) public @interface ParamFunctionInvoker
Marks function invokers that should be added to repository during initial scan.
Since:
0.1.0
Author:
Adam Dubiel
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
    Name of function invoker (unique), also marks the type of function that should be invoked using it.
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    Returns data to instantiate function invoker class with different constructor arguments.
    Returns array of function invoker names, if it should be registered multiple times under different names.
  • Element Details

    • value

      String value
      Name of function invoker (unique), also marks the type of function that should be invoked using it.
      Returns:
      name
    • values

      String[] values
      Returns array of function invoker names, if it should be registered multiple times under different names.
      Returns:
      names
      Default:
      {}
    • instances

      ObjectInstance[] instances
      Returns data to instantiate function invoker class with different constructor arguments. Function invoker objects will be registered under given names.
      Returns:
      instance descriptors
      See Also:
      Default:
      {}