-/*******************************************************************************\r
- * Copyright (c) 2007 VTT Technical Research Centre of Finland and others.\r
- * All rights reserved. This program and the accompanying materials\r
- * are made available under the terms of the Eclipse Public License v1.0\r
- * which accompanies this distribution, and is available at\r
- * http://www.eclipse.org/legal/epl-v10.html\r
- *\r
- * Contributors:\r
- * VTT Technical Research Centre of Finland - initial API and implementation\r
- *******************************************************************************/\r
-package org.simantics.db;\r
-\r
-import java.util.Properties;\r
-\r
-import org.simantics.db.exception.DatabaseException;\r
-\r
-/**\r
- * Extended Server Interface\r
- *\r
- * @author Toni Kalajainen <toni.kalajainen@vtt.fi>\r
- */\r
-public interface ServerEx extends ServerI {\r
-\r
- /**\r
- * Create session with user given properties.\r
- * Properties:\r
- * o user - username\r
- * o password - password\r
- *\r
- * @param info\r
- * @return session\r
- * @throws DatabaseException\r
- */\r
- public Session createSession(Properties info)\r
- throws DatabaseException;\r
-\r
- /**\r
- * Create session with user given properties.\r
- * Properties:\r
- * o user - username\r
- * o password - password\r
- *\r
- * @param info\r
- * @return service locator\r
- * @throws DatabaseException\r
- */\r
- public ServiceLocator getServiceLocator(Properties info) throws DatabaseException;\r
-}\r
+/*******************************************************************************
+ * Copyright (c) 2007 VTT Technical Research Centre of Finland and others.
+ * 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:
+ * VTT Technical Research Centre of Finland - initial API and implementation
+ *******************************************************************************/
+package org.simantics.db;
+
+import java.util.Properties;
+
+import org.simantics.db.exception.DatabaseException;
+
+/**
+ * Extended Server Interface
+ *
+ * @author Toni Kalajainen <toni.kalajainen@vtt.fi>
+ */
+public interface ServerEx extends ServerI {
+
+ /**
+ * Create session with user given properties.
+ * Properties:
+ * o user - username
+ * o password - password
+ *
+ * @param info
+ * @return session
+ * @throws DatabaseException
+ */
+ public Session createSession(Properties info)
+ throws DatabaseException;
+
+ /**
+ * Create session with user given properties.
+ * Properties:
+ * o user - username
+ * o password - password
+ *
+ * @param info
+ * @return service locator
+ * @throws DatabaseException
+ */
+ public ServiceLocator getServiceLocator(Properties info) throws DatabaseException;
+}