Class SingletonLiteral

java.lang.Object
jakarta.enterprise.util.AnnotationLiteral<Singleton>
jakarta.enterprise.inject.literal.SingletonLiteral
All Implemented Interfaces:
Annotation

public final class SingletonLiteral extends AnnotationLiteral<Singleton> implements Singleton
Supports inline instantiation of the Singleton annotation.
Since:
2.0
Author:
Martin Kouba
See Also:
  • Field Details

    • INSTANCE

      public static final SingletonLiteral INSTANCE
      Default Singleton literal
  • Constructor Details

    • SingletonLiteral

      public SingletonLiteral()