Annotation Type FunctionHandler


@Documented @Retention(RUNTIME) @Target(TYPE) public @interface FunctionHandler
This annotation needs to be set at the implementing classes of JCoServerFunctionHandler in order to register their implementation at the server instance during webapp startup.
Please make sure, to only specify over all your annotations each functionName only once. There could be also only exactly one generic function handler be registered, this needs to be specified with function name "*". Wildcards within a function name are not allowed.

Note: In order to get this annotation picked up, make sure to incorporate the serverStartup dependency into your app project.

  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
    all the function names for which the annotated handler should be registered.
  • Element Details

    • functionNames

      String[] functionNames
      all the function names for which the annotated handler should be registered.

      Please make sure, to only specify over all your annotations each functionName only once.