Configuration: allow adapter to be specified at runtime