add generics to interface DriverFactory

It seems like this change would require a change to BatchExecutable.getBatchByName, but I don't see one