Annotation Type 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:
    Read, Update, Patch, Action
    • Required Element Summary

      Required Elements 
      Modifier and Type Required Element Description
      Handler value
      The details of the handler.
    • Element Detail

      • value

        Handler value
        The details of the handler.