Module jakarta.cdi

Class SingletonLiteral

  • All Implemented Interfaces:
    Annotation

    public final class SingletonLiteral
    extends AnnotationLiteral<jakarta.inject.Singleton>
    implements jakarta.inject.Singleton
    Supports inline instantiation of the Singleton annotation.
    Since:
    2.0
    Author:
    Martin Kouba
    See Also:
    Serialized Form
    • Constructor Detail

      • SingletonLiteral

        public SingletonLiteral()