Oracle GlassFish Server 3.0.1 Application Deployment Guide

connector-resource

Defines the connection factory object of a specific connection definition in a connector (resource adapter).

Superelements

resources (sun-resources.xml)

Subelements

The following table describes subelements for the connector-resource element.

Table C–38 connector-resource Subelements

Element 

Required 

Description 

description

zero or one 

Contains a text description of this element. 

property (with attributes)

zero or more 

Specifies a property or a variable. 

Attributes

The following table describes attributes for the connector-resource element.

Table C–39 connector-resource Attributes

Attribute 

Default 

Description 

jndi-name

none 

Specifies the JNDI name for the resource. 

pool-name

none 

Specifies the name of the associated connector-connection-pool.

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.

enabled

true

(optional) Determines whether this resource is enabled at runtime.