Annotation Interface Name


@Documented @Retention(RUNTIME) public @interface Name
A qualifier annotation used when injecting Coherence resource to indicate a specific resource name.
Since:
1.0
Author:
Jonathan Knight
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static final class 
    An annotation literal for the Name annotation.
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
    The name used to identify a specific resource.
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    boolean
    Return true to indicate whether name is a regular expression.
  • Element Details

    • value

      String value
      The name used to identify a specific resource.
      Returns:
      the name used to identify a specific resource
    • regex

      boolean regex
      Return true to indicate whether name is a regular expression.
      Returns:
      true to indicate whether name is a regular expression
      Default:
      false