Class SingletonLiteral
- java.lang.Object
-
- jakarta.enterprise.util.AnnotationLiteral<Singleton>
-
- jakarta.enterprise.inject.literal.SingletonLiteral
-
- All Implemented Interfaces:
java.lang.annotation.Annotation
public final class SingletonLiteral extends AnnotationLiteral<Singleton> implements Singleton
Supports inline instantiation of theSingleton
annotation.- Since:
- 2.0
- 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
-
-
-
-
Field Detail
-
INSTANCE
public static final SingletonLiteral INSTANCE
-
-