Nick, this was solved over 20 years ago by using a file naming convention. If you have used JDBC you have used this file name technique. The factory finds the right implementation of an interface by the name of the driver within the file system.
Software developer/architect with 33 years experience
Love podcasts or audiobooks? Learn on the go with our new app.