@Retention(value=RUNTIME) @Target(value=TYPE) @Repeatable(value=ConnectionFactoryDefinitions.class) public @interface ConnectionFactoryDefinition
lookup
element of the Resource
annotation.Resource
Modifier and Type | Required Element and Description |
---|---|
String |
interfaceName
The fully qualified name of the connection factory interface
class.
|
String |
name
JNDI name of the connection factory resource being defined.
|
String |
resourceAdapter
The name of the resource adapter that the administered object must be
created from.
|
Modifier and Type | Optional Element and Description |
---|---|
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.
|
String[] |
properties
Properties of the Connection Factory.
|
TransactionSupport.TransactionSupportLevel |
transactionSupport
The level of transaction support the connection factory resource
needs to support.
|
public abstract String name
public abstract String resourceAdapter
public abstract String interfaceName
public abstract String description
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 String[] properties
Copyright © 2018,2020 Eclipse Foundation.
Use is subject to license terms.