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 : AuthMechanismTypeThe value of this attribute specifies which of the defined authentication mechanisms for the corresponding resource adapter applies to this connection factory.
authDataAlias : StringAn alias to an AuthDataEntry (Specified by name).
connectionPool : ConnectionPoolAn optional set of connection pool settings.
mapping : MappingModule  

Attribute Details

authMechanismPreference    -    The value of this attribute specifies which of the defined authentication mechanisms for the corresponding resource adapter applies to this 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


Copyright IBM Corp. 1996-2002