ConnectionFactory

Settings used when creating connections to resources, such as authentication preferences and pool settings.

Inherits from type J2EEResourceFactory and adds the following.


 

Attributes Summary

authMechanismPreference The value of this attribute specifies which of the defined connection factory.
authDataAlias An alias to an AuthDataEntry (Specified by name).
connectionPool An optional set of connection pool settings.
mapping  

 

Attribute Details


authMechanismPreference

The value of this attribute specifies which of the defined connection factory. For example, if two authentication mechanism entries have been defined for a resource adapter, KerbV5 and Basic Password, this will specify one of those two types. If the authentication mechanism preference specified is not an available authentication mechanism on the corresponding resource adapter, it is ignored. Default=BASIC PASSWORD.

Data type:  AuthMechanismType
Default value:   unspecified
Allowed Values:  BASIC_PASSWORD   KERBEROS  



authDataAlias

An alias to an AuthDataEntry (Specified by name). It is an alias into the AuthDataEntries list in security.xml.

Data type:   String
Default value:   unspecified



connectionPool

An optional set of connection pool settings.

Data type:  ConnectionPool



mapping

 

Data type:  MappingModule