@Retention(value=RUNTIME)
@Target(value=TYPE)
public @interface ConnectionFactoryDefinition
lookup
element of the Resource
annotation.Resource
Modifier and Type | Required Element and Description |
---|---|
java.lang.String |
interfaceName
The fully qualified name of the connection factory interface
class.
|
java.lang.String |
name
JNDI name of the connection factory resource being defined.
|
java.lang.String |
resourceAdapter
The name of the resource adapter that the administered object must be
created from.
|
Modifier and Type | Optional Element and Description |
---|---|
java.lang.String |
description
Description of the resource.
|
int |
maxPoolSize
The maximum number of connections that should be allocated for a
connection pool that backs this connnection factory resource.
|
int |
minPoolSize
The minimum number of connections that should be allocated for a
connection pool that backs this connnection factory resource.
|
java.lang.String[] |
properties
Properties of the Connection Factory.
|
TransactionSupport.TransactionSupportLevel |
transactionSupport
The level of transaction support the connection factory resource
needs to support.
|
public abstract java.lang.String name
public abstract java.lang.String resourceAdapter
public abstract java.lang.String interfaceName
public abstract TransactionSupport.TransactionSupportLevel transactionSupport
TransactionSupport.TransactionSupportLevel
enum is equal
to or lesser than the resource adapter's transaction support
classification.public abstract int maxPoolSize
public abstract int minPoolSize
public abstract java.lang.String[] properties