lookup element of the Resource annotation.
javax.annotation.Resource
| Modifier and Type | Method and Description |
|---|---|
| public String | |
| public String | |
| public int | maxPoolSize()
The maximum number of connections that should be allocated for a connection pool that backs this connnection factory resource. |
| public int | minPoolSize()
The minimum number of connections that should be allocated for a connection pool that backs this connnection factory resource. |
| public String | |
| public String[] | |
| public String | resourceAdapter()
The name of the resource adapter that the administered object must be created from. |
| public TransactionSupport. | transactionSupport()
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
| |