Class ConfigUri.Literal

java.lang.Object
io.micronaut.coherence.annotation.ConfigUri.Literal
All Implemented Interfaces:
Annotation
Enclosing class:
ConfigUri

public static final class ConfigUri.Literal extends Object implements ConfigUri
An annotation literal for the ConfigUri annotation.
See Also:
  • Method Details

    • of

      public static ConfigUri.Literal of(String sURI)
      Parameters:
      sURI - the config resource URI
      Returns:
      a ConfigUri.Literal with the specified value
    • value

      public String value()
      The name used to identify a specific resource.
      Returns:
      the name used to identify a specific resource
    • equals

      public boolean equals(Object o)
      Specified by:
      equals in interface Annotation
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface Annotation
    • annotationType

      public Class<? extends Annotation> annotationType()
      Method returns the type of the annotation literal. The value is resolved lazily during the first call of this method.
      Specified by:
      annotationType in interface Annotation
      Returns:
      annotation type of this literal.