Class ScopeName.Literal

java.lang.Object
io.micronaut.coherence.annotation.AbstractNamedLiteral<ScopeName>
io.micronaut.coherence.annotation.ScopeName.Literal
All Implemented Interfaces:
Annotation
Enclosing class:
ScopeName

public static final class ScopeName.Literal extends AbstractNamedLiteral<ScopeName> implements ScopeName
An annotation literal for the ScopeName annotation.
See Also:
  • Method Details

    • of

      public static ScopeName.Literal of(String sName)
      Parameters:
      sName - the scope name
      Returns:
      a ScopeName.Literal with the specified value
    • value

      public String value()
      The name used to identify a specific scope.
      Returns:
      the name used to identify a specific scope
    • 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.