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