# Package jakarta.annotation

package jakarta.annotation

Related Packages
Package
Description
jakarta.annotation.security
jakarta.annotation.sql
Class
Description
Generated
Used to identify generated code.
ManagedBean
Deprecated, for removal: This API element is subject to removal in a future version.
This will be removed no earlier than Jakarta EE 11.
Nonnull
Added to indicate an element may not be null.
Nullable
Added to indicate an element may be null.
PostConstruct
Added to a method required to be called after the object has been constructed and before it used.
PreDestroy
Added to a method required to be called once the object is no longer required and before it is discarded.
Priority
Used to define the order in which classes or parameters should be used.
Resource
Indicates a resource required by the application.
Resource.AuthenticationType
The AuthenticationType, either CONTAINER or APPLICATION
Resources
Used when multiple `Resource` annotations are required.