Metod for deposition of protective coatings.