Module jakarta.cdi

Class SingletonLiteral

  • All Implemented Interfaces:
    java.lang.annotation.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
    • Method Summary

      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait
      • Methods inherited from interface java.lang.annotation.Annotation

        annotationType, equals, hashCode, toString
    • Constructor Detail

      • SingletonLiteral

        public SingletonLiteral()