]> gerrit.simantics Code Review - simantics/platform.git/blob - bundles/org.simantics.db.procore/src/fi/vtt/simantics/procore/internal/SessionManagerFactory.java
Merge branch 'master' into private/eclipse-4.7
[simantics/platform.git] / bundles / org.simantics.db.procore / src / fi / vtt / simantics / procore / internal / SessionManagerFactory.java
1 /*******************************************************************************
2  * Copyright (c) 2007, 2010 Association for Decentralized Information Management
3  * in Industry THTH ry.
4  * All rights reserved. This program and the accompanying materials
5  * are made available under the terms of the Eclipse Public License v1.0
6  * which accompanies this distribution, and is available at
7  * http://www.eclipse.org/legal/epl-v10.html
8  *
9  * Contributors:
10  *     VTT Technical Research Centre of Finland - initial API and implementation
11  *******************************************************************************/
12 package fi.vtt.simantics.procore.internal;
13
14 import java.io.IOException;
15
16 import org.simantics.db.Session;
17 import org.simantics.db.SessionManager;
18
19 /**
20  * Used for constructing a SessionManager which manages and multiplexes a
21  * connection to a ProCore database for multiple {@link Session} instances.
22  * 
23  * @author Tuukka Lehtonen
24  * @see SessionManager
25  */
26 public interface SessionManagerFactory {
27   
28     SessionManager createSessionManager() throws IOException;
29
30 }
31