Sun GlassFish Enterprise Server v3 Application Deployment Guide

resource-adapter-config

Defines a connector (resource adapter) configuration. Stores configuration information for the resource adapter JavaBean in property subelements.

Superelements

resources (sun-resources.xml)

Subelements

The following table describes subelements for the resource-adapter-config element.

Table C–115 resource-adapter-config Subelements

Element 

Required 

Description 

property (with attributes)

zero or more 

Specifies a property or a variable. 

Attributes

The following table describes attributes for the resource-adapter-config element.

Table C–116 resource-adapter-config Attributes

Attribute 

Default 

Description 

name

none 

(optional) Not used. See resource-adapter-name.

thread-pool-ids

none 

(optional) Specifies a comma-separated list of the names of thread pools. 

object-type

user

(optional) Defines the type of the resource. Allowed values are: 

  • system-all - A system resource for all server instances and the domain application server.

  • system-admin - A system resource only for the domain application server.

  • system-instance - A system resource for all server instances only.

  • user - A user resource.

resource-adapter-name

none 

Specifies the name of a deployed connector module or application. If the resource adapter is embedded in an application, then it is app_name#rar_name.

Properties

Properties of the resource-adapter-config element are the names of setter methods of the resourceadapter-class element in the ra.xml file, which defines the class name of the resource adapter JavaBean. Any properties defined here override the default values present in ra.xml.