-
@Retention(value=RUNTIME) @Target(value=TYPE) public @interface ConnectionFactoryDefinition
Annotation used to define a Connector Connection Factory resource to be registered in JNDI. Once defined, a resource may be referenced by a component using thelookup
element of theResource
annotation.- Since:
- 1.7
- Version:
- 1.7
- See Also:
Resource
-
-
Required Element Summary
Required Elements 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.
-
Optional Element Summary
Optional Elements 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.
-
-
-
Element Detail
-
name
public abstract String name
JNDI name of the connection factory resource being defined.
-
-
-
resourceAdapter
public abstract 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.
-
-
-
interfaceName
public abstract String interfaceName
The fully qualified name of the connection factory interface class.
-
-
-
description
public abstract String description
Description of the resource.- Default:
- ""
-
-
-
transactionSupport
public abstract TransactionSupport.TransactionSupportLevel 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 theTransactionSupport.TransactionSupportLevel
enum is equal to or lesser than the resource adapter's transaction support classification.- Default:
- javax.resource.spi.TransactionSupport.TransactionSupportLevel.NoTransaction
-
-
-
maxPoolSize
public abstract 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.- Default:
- -1
-
-
-
minPoolSize
public abstract 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.- Default:
- -1
-
-
-
properties
public abstract 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.- Default:
- {}
-
-
Deutsche Übersetzung
Sie haben gebeten, diese Seite auf Deutsch zu besuchen. Momentan ist nur die Oberfläche übersetzt, aber noch nicht der gesamte Inhalt.Wenn Sie mir bei Übersetzungen helfen wollen, ist Ihr Beitrag willkommen. Alles, was Sie tun müssen, ist, sich auf der Website zu registrieren und mir eine Nachricht zu schicken, in der Sie gebeten werden, Sie der Gruppe der Übersetzer hinzuzufügen, die Ihnen die Möglichkeit gibt, die gewünschten Seiten zu übersetzen. Ein Link am Ende jeder übersetzten Seite zeigt an, dass Sie der Übersetzer sind und einen Link zu Ihrem Profil haben.
Vielen Dank im Voraus.
Dokument erstellt 11/06/2005, zuletzt geändert 18/08/2025
Quelle des gedruckten Dokuments:https://www.gaudry.be/de/java-api-javaee-rf-javax/resource/connectionfactorydefinition.html
Die Infobro ist eine persönliche Seite, deren Inhalt in meiner alleinigen Verantwortung liegt. Der Text ist unter der CreativeCommons-Lizenz (BY-NC-SA) verfügbar. Weitere Informationen auf die Nutzungsbedingungen und dem Autor.
Referenzen
Diese Verweise und Links verweisen auf Dokumente, die während des Schreibens dieser Seite konsultiert wurden, oder die zusätzliche Informationen liefern können, aber die Autoren dieser Quellen können nicht für den Inhalt dieser Seite verantwortlich gemacht werden.
Der Autor dieser Website ist allein dafür verantwortlich, wie die verschiedenen Konzepte und Freiheiten, die mit den Nachschlagewerken gemacht werden, hier dargestellt werden. Denken Sie daran, dass Sie mehrere Quellinformationen austauschen müssen, um das Risiko von Fehlern zu reduzieren.