Module jakarta.annotation
Package jakarta.annotation
This package defines the common annotations.
-
Enum Summary Enum Description Resource.AuthenticationType The two possible authentication types for a resource. -
Annotation Types Summary Annotation Type Description Generated TheGenerated
annotation is used to mark source code that has been generated.ManagedBean Deprecated. This will be removed post Jakarta EE 10 and should be replaced with CDI beansNonnull The annotated element must not be null.Nullable The annotated element could be null under some circumstances.PostConstruct ThePostConstruct
annotation is used on a method that needs to be executed after dependency injection is done to perform any initialization.PreDestroy ThePreDestroy
annotation is used on a method as a callback notification to signal that the instance is in the process of being removed by the container.Priority ThePriority
annotation can be applied to any program elements to indicate in what order they should be used.Resource TheResource
annotation marks a resource that is needed by the application.Resources This class is used to allow multiple resources declarations.