lookup element of the Resource annotation.
jakarta.annotation.Resource
| Modifier and Type | Method and Description |
|---|---|
| public String | |
| public String | Returns: fully qualified name of the connection factory interfaceThe fully qualified name of the connection factory interface class. |
| public int | Returns: The maximum number of connections that should be allocated for a connection poolThe maximum number of connections that should be allocated for a connection pool that backs this connnection factory resource. |
| public int | Returns: The minimum number of connections that should be allocated for a connection poolThe minimum number of connections that should be allocated for a connection pool that backs this connnection factory resource. |
| public String | |
| public String[] | |
| public String | Returns: name of the resource adapterThe name of the resource adapter that the administered object must be created from. |
| public TransactionSupport. | Returns: The level of transaction support the connection factory resource needs to support.The level of transaction support the connection factory resource needs to support. |
| description | back to summary |
|---|---|
| public String description() Description of the resource.
| |
| interfaceName | back to summary |
|---|---|
| public String interfaceName() The fully qualified name of the connection factory interface class.
| |
| maxPoolSize | back to summary |
|---|---|
| public int maxPoolSize() The maximum number of connections that should be allocated for a connection pool that backs this connnection factory resource. The default for this attribute is vendor specific.
| |
| minPoolSize | back to summary |
|---|---|
| public int minPoolSize() The minimum number of connections that should be allocated for a connection pool that backs this connnection factory resource. The default for this attribute is vendor specific.
| |
| name | back to summary |
|---|---|
| public String name() JNDI name of the connection factory resource being defined.
| |
| properties | back to summary |
|---|---|
| public String[] properties() Properties of the Connection Factory. These properties may be vendor-specific properties. Vendor-specific properties may be combined with or used to override the connection factory properties defined using this annotation. Connection Factory properties that are specified and are not supported in a given resource adapter or cannot be mapped to a vendor specific configuration property may be ignored.
| |
| resourceAdapter | back to summary |
|---|---|
| public String resourceAdapter() The name of the resource adapter that the administered object must be created from. The resource adapter is required to be available at deployment time.
| |
| transactionSupport | back to summary |
|---|---|
| public TransactionSupport. The level of transaction support the connection factory resource
needs to support. If a transaction support specification is specified,
it must be a level of transaction support whose ordinal value in the
| |