Show Table of Contents
7.2.2. RARDeployment MBean
The
org.jboss.resource.connectionmanager.RARDeployment MBean manages configuration and instantiation ManagedConnectionFactory instance. It does this using the resource adaptor metadata settings from the RAR META-INF/ra.xml descriptor along with the RARDeployment attributes. The configurable attributes are:
- OldRarDeployment: This is the
ObjectNameof theorg.jboss.resource.RarDeploymentMBean that contains the resource adaptor metadata. The form of this name isjboss.jca:service=RARDeployment,name=<ra-display-name>where the<ra-display-name>is thera.xmldescriptordisplay-nameattribute value. TheRARDeployercreates this when it deploys a RAR file. This attribute will likely be removed in the future. - ManagedConnectionFactoryProperties: This is a collection of (name, type, value) triples that define attributes of the
ManagedConnectionFactoryinstance. Therefore, the names of the attributes depend on the resource adaptorManagedConnectionFactoryinstance. The following example shows the structure of the content of this attribute.<properties> <config-property> <config-property-name>Attr0Name</config-property-name> <config-property-type>Attr0Type</config-property-type> <config-property-value>Attr0Value</config-property-value> </config-property> <config-property> <config-property-name>Attr1Name</config-property-name> <config-property-type>Attr2Type</config-property-type> <config-property-value>Attr2Value</config-property-value> </config-property> ... </properties>AttrXNameis the Xth attribute name,AttrXTypeis the fully qualified Java type of the attribute, andAttrXValueis the string representation of the value. The conversion from string toAttrXTypeis done using thejava.beans.PropertyEditorclass for theAttrXType. - JndiName: This is the JNDI name under which the resource adaptor will be made available. Clients of the resource adaptor use this name to obtain either the
javax.resource.cci.ConnectionFactoryor resource adaptor specific connection factory. The full JNDI name will bejava:/<JndiName>meaning that theJndiNameattribute value will be prefixed withjava:/. This prevents use of the connection factory outside of the JBoss server VM. In the future this restriction may be configurable.

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.