X-Git-Url: https://gerrit.simantics.org/r/gitweb?a=blobdiff_plain;f=bundles%2Forg.simantics.db%2Fsrc%2Forg%2Fsimantics%2Fdb%2FResource.java;fp=bundles%2Forg.simantics.db%2Fsrc%2Forg%2Fsimantics%2Fdb%2FResource.java;h=18ad6b737500d22869b4c5336e34c40855b30437;hb=0ae2b770234dfc3cbb18bd38f324125cf0faca07;hp=4a38f1b064e79b3b41d3d5fa3e605ff857ca85b8;hpb=24e2b34260f219f0d1644ca7a138894980e25b14;p=simantics%2Fplatform.git diff --git a/bundles/org.simantics.db/src/org/simantics/db/Resource.java b/bundles/org.simantics.db/src/org/simantics/db/Resource.java index 4a38f1b06..18ad6b737 100644 --- a/bundles/org.simantics.db/src/org/simantics/db/Resource.java +++ b/bundles/org.simantics.db/src/org/simantics/db/Resource.java @@ -1,49 +1,49 @@ -/******************************************************************************* - * 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; - -import org.simantics.utils.Container; - -/** - * A Graph independent reference to a resource. These can be stored between - * transactions and later used with any {@link RequestProcessor} or - * {@link AsyncRequestProcessor} that originates from a Session with the same - * database. - * - *
- * Resources are considered implementation dependent. Therefore
- * Resource
instances from different implementations of this
- * database connection API should not be used together.
- *
- * This interface should not be implemented by clients. - *
- * - * @author Tuukka Lehtonen - * @see AsyncReadGraph - * @see ReadGraph - * @see WriteGraph - */ -public interface Resource extends Container
+ * Resources are considered implementation dependent. Therefore
+ * Resource
instances from different implementations of this
+ * database connection API should not be used together.
+ *
+ * This interface should not be implemented by clients. + *
+ * + * @author Tuukka Lehtonen + * @see AsyncReadGraph + * @see ReadGraph + * @see WriteGraph + */ +public interface Resource extends Container