7.4. Configuring Generic JCA Adaptors
*-ds.xml configuration deployment file is shown in Figure 7.11, “The simplified JCA adaptor connection factory configuration descriptor top-level schema elements”.

Figure 7.11. The simplified JCA adaptor connection factory configuration descriptor top-level schema elements
connection-factories root are:
- mbean: Any number mbean elements may be specified to define MBean services that should be included in the
jboss-service.xmldescriptor that results from the transformation. This may be used to configure additional services used by the adaptor. - no-tx-connection-factory: this element is used to specify the (
org.jboss.resource.connectionmanager)NoTxConnectionManagerservice configuration.NoTxConnectionManageris a JCA connection manager with no transaction support. Theno-tx-connection-factorychild element schema is given in Figure 7.12, “The no-tx-connection-factory element schema”. - tx-connection-factory: this element is used to specify the (
org.jboss.resource.connectionmanager)TxConnectionManagerservice configuration. Thetx-connection-factorychild element schema is given in Figure 7.13, “The tx-connection-factory element schema”.

Figure 7.12. The no-tx-connection-factory element schema

Figure 7.13. The tx-connection-factory element schema
- adaptor-display-name: A human readable display name to assign to the connection manager MBean.
- local-transaction: This element specifies that the
tx-connection-factorysupports local transactions. - xa-transaction: This element specifies that the
tx-connection-factorysupports XA transactions. - track-connection-by-tx: This element specifies that a connection should be used only on a single transaction and that a transaction should only be associated with one connection.
- rar-name: This is the name of the RAR file that contains the definition for the resource we want to provide. For nested RAR files, the name would look like
myapplication.ear#my.rar. - connection-definition: This is the connection factory interface class. It should match the
connectionfactory-interfacein thera.xmlfile. - config-property: Any number of properties to supply to the
ManagedConnectionFactory(MCF) MBean service configuration. Eachconfig-propertyelement specifies the value of a MCF property. Theconfig-propertyelement has two required attributes:- name: The name of the property
- type: The fully qualified type of the property
The content of theconfig-propertyelement provides the string representation of the property value. This will be converted to the true property type using the associated typePropertyEditor.

Where did the comment section go?
Red Hat's documentation publication system recently went through an upgrade to enable speedier, more mobile-friendly content. We decided to re-evaluate our commenting platform to ensure that it meets your expectations and serves as an optimal feedback mechanism. During this redesign, we invite your input on providing feedback on Red Hat documentation via the discussion platform.