Annotation Interface SingletonProvider


@Retention(RUNTIME) @Target(TYPE) public @interface SingletonProvider
A marker annotation to indicate that the annotated class should be interpreted as an annotated CREST singleton provider resource.

Individual operations can then be supported by either annotating a method with the relevant annotation, or by naming the method according to the following convention:

  • read for read methods.
  • update for update methods.
  • patch for patch methods.
Note that action methods do not have a convention and MUST be annotated using the Action annotation.
See Also:
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
    The details of the handler.
  • Element Details

    • value

      Handler value
      The details of the handler.