Class Tenant.Literal

java.lang.Object
jakarta.enterprise.util.AnnotationLiteral<Tenant>
org.a2aproject.sdk.extras.multitenancy.Tenant.Literal
All Implemented Interfaces:
Annotation
Enclosing class:
Tenant

public static final class Tenant.Literal extends jakarta.enterprise.util.AnnotationLiteral<Tenant> implements Tenant
AnnotationLiteral for programmatic CDI lookups.
See Also:
  • Nested Class Summary

    Nested classes/interfaces inherited from class org.a2aproject.sdk.extras.multitenancy.Tenant

    Tenant.Literal
  • Constructor Summary

    Constructors
    Constructor
    Description
    Literal(String value)
    Creates a new Literal for the given tenant identifier.
  • Method Summary

    Modifier and Type
    Method
    Description
     

    Methods inherited from class jakarta.enterprise.util.AnnotationLiteral

    annotationType, equals, hashCode, toString

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • Literal

      public Literal(String value)
      Creates a new Literal for the given tenant identifier.
      Parameters:
      value - the tenant identifier
  • Method Details

    • value

      public String value()