1 /*******************************************************************************
\r
2 * Copyright (c) 2007 VTT Technical Research Centre of Finland and others.
\r
3 * All rights reserved. This program and the accompanying materials
\r
4 * are made available under the terms of the Eclipse Public License v1.0
\r
5 * which accompanies this distribution, and is available at
\r
6 * http://www.eclipse.org/legal/epl-v10.html
\r
9 * VTT Technical Research Centre of Finland - initial API and implementation
\r
10 *******************************************************************************/
\r
11 package org.simantics.db;
\r
13 import java.util.Properties;
\r
15 import org.simantics.db.exception.DatabaseException;
\r
18 * Extended Server Interface
\r
20 * @author Toni Kalajainen <toni.kalajainen@vtt.fi>
\r
22 public interface ServerEx extends ServerI {
\r
25 * Create session with user given properties.
\r
28 * o password - password
\r
32 * @throws DatabaseException
\r
34 public Session createSession(Properties info)
\r
35 throws DatabaseException;
\r
38 * Create session with user given properties.
\r
41 * o password - password
\r
44 * @return service locator
\r
45 * @throws DatabaseException
\r
47 public ServiceLocator getServiceLocator(Properties info) throws DatabaseException;
\r