replace deprecated method in component factory; closes #626
Merge pull request #627 from duke-libraries/iss626

replace deprecated method in component factory; closes #626