X-Git-Url: https://gerrit.simantics.org/r/gitweb?a=blobdiff_plain;ds=sidebyside;f=bundles%2Forg.simantics.db.services%2Fsrc%2Forg%2Fsimantics%2Fdb%2Fservices%2FServiceInitializer.java;fp=bundles%2Forg.simantics.db.services%2Fsrc%2Forg%2Fsimantics%2Fdb%2Fservices%2FServiceInitializer.java;h=347c30e6ca655e20a585515d01dc3934f21db363;hb=0ae2b770234dfc3cbb18bd38f324125cf0faca07;hp=2d5fcdbf0549b5317bfee8eb95186efba6b01f03;hpb=24e2b34260f219f0d1644ca7a138894980e25b14;p=simantics%2Fplatform.git diff --git a/bundles/org.simantics.db.services/src/org/simantics/db/services/ServiceInitializer.java b/bundles/org.simantics.db.services/src/org/simantics/db/services/ServiceInitializer.java index 2d5fcdbf0..347c30e6c 100644 --- a/bundles/org.simantics.db.services/src/org/simantics/db/services/ServiceInitializer.java +++ b/bundles/org.simantics.db.services/src/org/simantics/db/services/ServiceInitializer.java @@ -1,27 +1,27 @@ -/******************************************************************************* - * 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.services; - -import org.eclipse.core.runtime.IStatus; -import org.eclipse.core.runtime.Status; -import org.simantics.db.Session; - -public interface ServiceInitializer { - - /** - * @param s the session to initialize the service for - * @return an IStatus describing the result of the service initialization. - * Use {@link Status#OK_STATUS} to indicate success. - */ - public IStatus initialize(Session s); - -} +/******************************************************************************* + * 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.services; + +import org.eclipse.core.runtime.IStatus; +import org.eclipse.core.runtime.Status; +import org.simantics.db.Session; + +public interface ServiceInitializer { + + /** + * @param s the session to initialize the service for + * @return an IStatus describing the result of the service initialization. + * Use {@link Status#OK_STATUS} to indicate success. + */ + public IStatus initialize(Session s); + +}