This project focuses on automation of multi-level shadow root dom using java selenium. You can embed this plugin in your java selenium project.
Why do you think that https://github.com/bonigarcia/webdrivermanager is a good alternative to shadow-automation-selenium