authenticationMechanism.trimToSize();
configProperties.trimToSize();
securityPermission.trimToSize();
//building and returning object
return new ResourceAdapter10(managedConnectionFactoryClass, connectionFactoryInterface,
connectionFactoryImplClass, connectionInterface, connectionImplClass, transactionSupport,
authenticationMechanism, configProperties, reauthenticationSupport, securityPermission, id);
}
else