X-Git-Url: https://gerrit.simantics.org/r/gitweb?p=simantics%2Fplatform.git;a=blobdiff_plain;f=bundles%2Forg.simantics.db%2Fsrc%2Forg%2Fsimantics%2Fdb%2Fevent%2FSessionListener.java;fp=bundles%2Forg.simantics.db%2Fsrc%2Forg%2Fsimantics%2Fdb%2Fevent%2FSessionListener.java;h=5bc2ccfe627811a0c53cb4b66e48b8b63c8b68b4;hp=6d9f4001ac8b28fab10ebf80078cc1c3b2320ee8;hb=0ae2b770234dfc3cbb18bd38f324125cf0faca07;hpb=24e2b34260f219f0d1644ca7a138894980e25b14 diff --git a/bundles/org.simantics.db/src/org/simantics/db/event/SessionListener.java b/bundles/org.simantics.db/src/org/simantics/db/event/SessionListener.java index 6d9f4001a..5bc2ccfe6 100644 --- a/bundles/org.simantics.db/src/org/simantics/db/event/SessionListener.java +++ b/bundles/org.simantics.db/src/org/simantics/db/event/SessionListener.java @@ -1,31 +1,31 @@ -/******************************************************************************* - * Copyright (c) 2007, 2010 Association for Decentralized Information Management - * in Industry THTH ry. - * 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.event; - -import org.simantics.db.Session; -import org.simantics.db.SessionManager; - -/** - * A listener for tracking the active Sessions of a SessionManager. - * - * @author Tuukka Lehtonen - * @see Session - * @see SessionEvent - * @see SessionManager - */ -public interface SessionListener { - - void sessionOpened(SessionEvent e); - void sessionException(SessionEvent e); - void sessionClosed(SessionEvent e); - -}; +/******************************************************************************* + * Copyright (c) 2007, 2010 Association for Decentralized Information Management + * in Industry THTH ry. + * 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.event; + +import org.simantics.db.Session; +import org.simantics.db.SessionManager; + +/** + * A listener for tracking the active Sessions of a SessionManager. + * + * @author Tuukka Lehtonen + * @see Session + * @see SessionEvent + * @see SessionManager + */ +public interface SessionListener { + + void sessionOpened(SessionEvent e); + void sessionException(SessionEvent e); + void sessionClosed(SessionEvent e); + +};