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