Index (Common Annotations 2.1 API Documentation - Apache Tomcat 10.1.57)

# Index

A C D G I J L M N P R S T U V
All Classes and Interfaces|All Packages

## A

APPLICATION - Enum constant in enum jakarta.annotation.Resource.AuthenticationType
  Application authentication
authenticationType() - Element in annotation type jakarta.annotation.Resource
  Specifies the authentication type for the resource.

## C

className() - Element in annotation type jakarta.annotation.sql.DataSourceDefinition
  Specifies the fully qualified class name of the JDBC driver or the Jakarta Connector connection factory class that implements this data source.
comments() - Element in annotation type jakarta.annotation.Generated
  Provides additional comments or metadata related to the code generation process, such as version information or configuration details.
CONTAINER - Enum constant in enum jakarta.annotation.Resource.AuthenticationType
  Container authentication

## D

databaseName() - Element in annotation type jakarta.annotation.sql.DataSourceDefinition
  Specifies the name of the database to connect to.
DataSourceDefinition - Annotation Type in jakarta.annotation.sql
  Defines a data source for dependency injection via the `Resource` annotation.
DataSourceDefinitions - Annotation Type in jakarta.annotation.sql
  Container annotation that holds multiple `DataSourceDefinition` annotations.
date() - Element in annotation type jakarta.annotation.Generated
  Specifies the date and time when the code was generated, typically in ISO 8601 format.
DeclareRoles - Annotation Type in jakarta.annotation.security
  Declares that role names used in security constraints for the annotated enterprise bean should be treated as declared roles.
DenyAll - Annotation Type in jakarta.annotation.security
  Indicates that all access to the annotated enterprise bean or business method is denied.
description() - Element in annotation type jakarta.annotation.Resource
  Provides a human-readable description of the resource for documentation and administrative purposes.
description() - Element in annotation type jakarta.annotation.sql.DataSourceDefinition
  Provides a human-readable description of the data source for documentation and administrative purposes.

## G

Generated - Annotation Type in jakarta.annotation
  Used to identify generated code.

## I

initialPoolSize() - Element in annotation type jakarta.annotation.sql.DataSourceDefinition
  Specifies the number of connections to create when the connection pool is initialized.
isolationLevel() - Element in annotation type jakarta.annotation.sql.DataSourceDefinition
  Specifies the transaction isolation level for connections from this data source, using the constants defined in `Connection`.

## J

jakarta.annotation - package jakarta.annotation
jakarta.annotation.security - package jakarta.annotation.security
jakarta.annotation.sql - package jakarta.annotation.sql

## L

loginTimeout() - Element in annotation type jakarta.annotation.sql.DataSourceDefinition
  Specifies the maximum time in seconds that the driver will wait when attempting to connect to the database.
lookup() - Element in annotation type jakarta.annotation.Resource
  Specifies the JNDI lookup name for the resource.

## M

ManagedBean - Annotation Type in jakarta.annotation
  Deprecated, for removal: This API element is subject to removal in a future version.
  This will be removed no earlier than Jakarta EE 11. Use CDI beans instead.
mappedName() - Element in annotation type jakarta.annotation.Resource
  Specifies a product-dependent name for the resource, allowing the container to map the logical resource name to a physical resource in a vendor-specific manner.
maxIdleTime() - Element in annotation type jakarta.annotation.sql.DataSourceDefinition
  Specifies the maximum idle time in seconds before a connection is closed and removed from the pool.
maxPoolSize() - Element in annotation type jakarta.annotation.sql.DataSourceDefinition
  Specifies the maximum number of connections that the pool may create.
maxStatements() - Element in annotation type jakarta.annotation.sql.DataSourceDefinition
  Specifies the maximum number of prepared statements that may be cached per connection in the pool.
minPoolSize() - Element in annotation type jakarta.annotation.sql.DataSourceDefinition
  Specifies the minimum number of connections that the pool must maintain.

## N

name() - Element in annotation type jakarta.annotation.Resource
  Specifies the logical name of the resource.
name() - Element in annotation type jakarta.annotation.sql.DataSourceDefinition
  Specifies the JNDI name under which the data source will be registered.
Nonnull - Annotation Type in jakarta.annotation
  Added to indicate an element may not be null.
Nullable - Annotation Type in jakarta.annotation
  Added to indicate an element may be null.

## P

password() - Element in annotation type jakarta.annotation.sql.DataSourceDefinition
  Specifies the password for the database user account used to establish connections.
PermitAll - Annotation Type in jakarta.annotation.security
  Indicates that all authenticated users are permitted to access the annotated enterprise bean or business method.
portNumber() - Element in annotation type jakarta.annotation.sql.DataSourceDefinition
  Specifies the network port number on which the database server is listening.
PostConstruct - Annotation Type in jakarta.annotation
  Added to a method required to be called after the object has been constructed and before it used.
PreDestroy - Annotation Type in jakarta.annotation
  Added to a method required to be called once the object is no longer required and before it is discarded.
Priority - Annotation Type in jakarta.annotation
  Used to define the order in which classes or parameters should be used.
properties() - Element in annotation type jakarta.annotation.sql.DataSourceDefinition
  Specifies additional connection properties in the form "name=value" strings.

## R

Resource - Annotation Type in jakarta.annotation
  Indicates a resource required by the application.
Resource.AuthenticationType - Enum in jakarta.annotation
  The AuthenticationType, either CONTAINER or APPLICATION
Resources - Annotation Type in jakarta.annotation
  Used when multiple `Resource` annotations are required.
RolesAllowed - Annotation Type in jakarta.annotation.security
  Specifies the security roles that are allowed to access the annotated enterprise bean or business method.
RunAs - Annotation Type in jakarta.annotation.security
  Defines the run-as security role for an enterprise bean.

## S

serverName() - Element in annotation type jakarta.annotation.sql.DataSourceDefinition
  Specifies the host name or IP address of the database server.
shareable() - Element in annotation type jakarta.annotation.Resource
  Indicates whether the resource can be shared among multiple injection points.

## T

transactional() - Element in annotation type jakarta.annotation.sql.DataSourceDefinition
  Indicates whether connections from this data source support container-managed transactions.
type() - Element in annotation type jakarta.annotation.Resource
  Uses generics since Common Annotations 1.2.

## U

url() - Element in annotation type jakarta.annotation.sql.DataSourceDefinition
  Specifies the JDBC connection URL for the database.
user() - Element in annotation type jakarta.annotation.sql.DataSourceDefinition
  Specifies the database user name used to establish connections.

## V

value() - Element in annotation type jakarta.annotation.Generated
  Specifies the name(s) of the tool(s) that generated the annotated element.
value() - Element in annotation type jakarta.annotation.ManagedBean
  Deprecated.
value() - Element in annotation type jakarta.annotation.Priority
  Specifies the priority value used to determine the ordering of the annotated element.
value() - Element in annotation type jakarta.annotation.Resources
  Specifies the array of `Resource` annotations that define the resources required by the annotated component.
value() - Element in annotation type jakarta.annotation.security.DeclareRoles
  Specifies the declared role names that should be recognized by the container.
value() - Element in annotation type jakarta.annotation.security.RolesAllowed
  Specifies the security role names that are authorized to access the annotated component or method.
value() - Element in annotation type jakarta.annotation.security.RunAs
  Specifies the security role name that the container should assume as the caller identity when executing business methods on behalf of this component.
value() - Element in annotation type jakarta.annotation.sql.DataSourceDefinitions
  Specifies the array of data source definitions contained within this container annotation.
valueOf(String) - Static method in enum jakarta.annotation.Resource.AuthenticationType
  Returns the enum constant of this type with the specified name.
values() - Static method in enum jakarta.annotation.Resource.AuthenticationType
  Returns an array containing the constants of this enum type, in the order they are declared.

A C D G I J L M N P R S T U V
All Classes and Interfaces|All Packages