--- /dev/null
+/*******************************************************************************\r
+ * Copyright (c) 2007, 2010 Association for Decentralized Information Management\r
+ * in Industry THTH ry.\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.procedure;\r
+\r
+/**\r
+ * \r
+ * \r
+ * \r
+ * @see AsyncProcedure\r
+ * @see AsyncMultiProcedure\r
+ * @see SetProcedure\r
+ * @see Procedure\r
+ * @see MultiProcedure\r
+ */\r
+public interface ListenerBase {\r
+ \r
+ /**\r
+ * Informs the database client of the liveness of this procedure. After a\r
+ * procedure says that it is disposed, it will be detached from listening to\r
+ * request changes and allow the system to discard the procedure references\r
+ * from the request.\r
+ * \r
+ * <p>\r
+ * This return value can be either <code>true</code> or change from\r
+ * <code>false</code> to <code>true</code>, it must never change from\r
+ * <code>true</code> to <code>false</code>.\r
+ * </p>\r
+ * \r
+ * @return\r
+ */\r
+ boolean isDisposed();\r
+\r
+}\r