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 theSingleton
annotation.- Since:
- 2.0
- Author:
- Martin Kouba
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static SingletonLiteral
INSTANCE
-
Constructor Summary
Constructors Constructor Description SingletonLiteral()
-
Method Summary
-
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
-
Methods inherited from interface java.lang.annotation.Annotation
annotationType, equals, hashCode, toString
-
-
-
-
Field Detail
-
INSTANCE
public static final SingletonLiteral INSTANCE
-
-