Changing the Connection Associated with an Adapter Service at Run Time
You can dynamically select the connection an adapter service uses to interact with the resource of the adapter. This feature enables one service to interact with multiple, similar back-end resources.
For example, you can configure an adapter service to use a default connection that interacts with the production Salesforce.com data. However, at run time, you can override the default connection and use another connection to interact with the Force.com sandbox for testing.
Alternatively, at run time, you can override the Salesforce.com user credentials configured for that connection by specifying an alternative user name and password to connect to Salesforce.com.
For more information about overriding a service's default connection at run time, see
Dynamically Changing a Service's Connection
at Run Time.