blob: 6ae8bbceb38ad1e0008d8e65dde8ad3709f1890c [file] [log] [blame]
/*******************************************************************************
* Copyright (c) 2006 Sybase, Inc.
*
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*
* Contributors:
* rcernich - initial API and implementation
*******************************************************************************/
package org.eclipse.datatools.connectivity.repository.file;
import org.eclipse.datatools.connectivity.IConnection;
import org.eclipse.datatools.connectivity.IConnectionFactory;
import org.eclipse.datatools.connectivity.IConnectionProfile;
public class FileRepositoryConnectionFactory implements IConnectionFactory {
public IConnection createConnection(IConnectionProfile profile) {
return createConnection(profile,null,null);
}
public IConnection createConnection(IConnectionProfile profile, String uid,
String pwd) {
return new FileRepositoryConnection(profile);
}
}