Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorslewis2008-02-06 01:03:18 +0000
committerslewis2008-02-06 01:03:18 +0000
commit2b2e7286be38d7ab29fc6589c7331a5dd6d03df7 (patch)
tree9a120268f26677e1beaa847dcb9105cb627fc651 /server-side/examples/bundles/org.eclipse.ecf.examples.remoteservices.common
parent3f663ef9c50ae3874d051d5edfb00dcc69aab175 (diff)
downloadorg.eclipse.ecf-2b2e7286be38d7ab29fc6589c7331a5dd6d03df7.tar.gz
org.eclipse.ecf-2b2e7286be38d7ab29fc6589c7331a5dd6d03df7.tar.xz
org.eclipse.ecf-2b2e7286be38d7ab29fc6589c7331a5dd6d03df7.zip
Initial checkin of example remoteservices common plugin
Diffstat (limited to 'server-side/examples/bundles/org.eclipse.ecf.examples.remoteservices.common')
-rw-r--r--server-side/examples/bundles/org.eclipse.ecf.examples.remoteservices.common/.classpath7
-rw-r--r--server-side/examples/bundles/org.eclipse.ecf.examples.remoteservices.common/.project28
-rw-r--r--server-side/examples/bundles/org.eclipse.ecf.examples.remoteservices.common/.settings/org.eclipse.jdt.core.prefs7
-rw-r--r--server-side/examples/bundles/org.eclipse.ecf.examples.remoteservices.common/.settings/org.eclipse.pde.core.prefs4
-rw-r--r--server-side/examples/bundles/org.eclipse.ecf.examples.remoteservices.common/META-INF/MANIFEST.MF13
-rw-r--r--server-side/examples/bundles/org.eclipse.ecf.examples.remoteservices.common/about.html28
-rw-r--r--server-side/examples/bundles/org.eclipse.ecf.examples.remoteservices.common/build.properties9
-rw-r--r--server-side/examples/bundles/org.eclipse.ecf.examples.remoteservices.common/plugin.properties10
-rw-r--r--server-side/examples/bundles/org.eclipse.ecf.examples.remoteservices.common/src/org/eclipse/ecf/examples/remoteservices/common/IConcatService.java21
-rw-r--r--server-side/examples/bundles/org.eclipse.ecf.examples.remoteservices.common/src/org/eclipse/ecf/internal/examples/remoteservices/common/Activator.java22
10 files changed, 149 insertions, 0 deletions
diff --git a/server-side/examples/bundles/org.eclipse.ecf.examples.remoteservices.common/.classpath b/server-side/examples/bundles/org.eclipse.ecf.examples.remoteservices.common/.classpath
new file mode 100644
index 000000000..ce7393340
--- /dev/null
+++ b/server-side/examples/bundles/org.eclipse.ecf.examples.remoteservices.common/.classpath
@@ -0,0 +1,7 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<classpath>
+ <classpathentry kind="src" path="src"/>
+ <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/J2SE-1.4"/>
+ <classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/>
+ <classpathentry kind="output" path="bin"/>
+</classpath>
diff --git a/server-side/examples/bundles/org.eclipse.ecf.examples.remoteservices.common/.project b/server-side/examples/bundles/org.eclipse.ecf.examples.remoteservices.common/.project
new file mode 100644
index 000000000..419422f1e
--- /dev/null
+++ b/server-side/examples/bundles/org.eclipse.ecf.examples.remoteservices.common/.project
@@ -0,0 +1,28 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<projectDescription>
+ <name>org.eclipse.ecf.examples.remoteservices.common</name>
+ <comment></comment>
+ <projects>
+ </projects>
+ <buildSpec>
+ <buildCommand>
+ <name>org.eclipse.jdt.core.javabuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ <buildCommand>
+ <name>org.eclipse.pde.ManifestBuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ <buildCommand>
+ <name>org.eclipse.pde.SchemaBuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ </buildSpec>
+ <natures>
+ <nature>org.eclipse.pde.PluginNature</nature>
+ <nature>org.eclipse.jdt.core.javanature</nature>
+ </natures>
+</projectDescription>
diff --git a/server-side/examples/bundles/org.eclipse.ecf.examples.remoteservices.common/.settings/org.eclipse.jdt.core.prefs b/server-side/examples/bundles/org.eclipse.ecf.examples.remoteservices.common/.settings/org.eclipse.jdt.core.prefs
new file mode 100644
index 000000000..8b264563d
--- /dev/null
+++ b/server-side/examples/bundles/org.eclipse.ecf.examples.remoteservices.common/.settings/org.eclipse.jdt.core.prefs
@@ -0,0 +1,7 @@
+#Mon Feb 04 22:24:25 PST 2008
+eclipse.preferences.version=1
+org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.2
+org.eclipse.jdt.core.compiler.compliance=1.4
+org.eclipse.jdt.core.compiler.problem.assertIdentifier=warning
+org.eclipse.jdt.core.compiler.problem.enumIdentifier=warning
+org.eclipse.jdt.core.compiler.source=1.3
diff --git a/server-side/examples/bundles/org.eclipse.ecf.examples.remoteservices.common/.settings/org.eclipse.pde.core.prefs b/server-side/examples/bundles/org.eclipse.ecf.examples.remoteservices.common/.settings/org.eclipse.pde.core.prefs
new file mode 100644
index 000000000..6005f9e10
--- /dev/null
+++ b/server-side/examples/bundles/org.eclipse.ecf.examples.remoteservices.common/.settings/org.eclipse.pde.core.prefs
@@ -0,0 +1,4 @@
+#Mon Feb 04 17:55:15 PST 2008
+eclipse.preferences.version=1
+pluginProject.extensions=false
+resolve.requirebundle=false
diff --git a/server-side/examples/bundles/org.eclipse.ecf.examples.remoteservices.common/META-INF/MANIFEST.MF b/server-side/examples/bundles/org.eclipse.ecf.examples.remoteservices.common/META-INF/MANIFEST.MF
new file mode 100644
index 000000000..ad1019eac
--- /dev/null
+++ b/server-side/examples/bundles/org.eclipse.ecf.examples.remoteservices.common/META-INF/MANIFEST.MF
@@ -0,0 +1,13 @@
+Manifest-Version: 1.0
+Bundle-ManifestVersion: 2
+Bundle-Name: %plugin.name
+Bundle-SymbolicName: org.eclipse.ecf.examples.remoteservices.common
+Bundle-Version: 1.0.0.qualifier
+Bundle-Activator: org.eclipse.ecf.internal.examples.remoteservices.common.Activator
+Bundle-Vendor: %plugin.provider
+Bundle-Localization: plugin
+Bundle-RequiredExecutionEnvironment: J2SE-1.4
+Import-Package: org.osgi.framework;version="1.3.0"
+Eclipse-LazyStart: true
+Export-Package: org.eclipse.ecf.examples.remoteservices.common,
+ org.eclipse.ecf.internal.examples.remoteservices.common;x-internal:=true
diff --git a/server-side/examples/bundles/org.eclipse.ecf.examples.remoteservices.common/about.html b/server-side/examples/bundles/org.eclipse.ecf.examples.remoteservices.common/about.html
new file mode 100644
index 000000000..6a60a262f
--- /dev/null
+++ b/server-side/examples/bundles/org.eclipse.ecf.examples.remoteservices.common/about.html
@@ -0,0 +1,28 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"/>
+<title>About</title>
+</head>
+<body lang="EN-US">
+<h2>About This Content</h2>
+
+<p>June 29, 2007</p>
+<h3>License</h3>
+
+<p>The Eclipse Foundation makes available all content in this plug-in (&quot;Content&quot;). Unless otherwise
+indicated below, the Content is provided to you under the terms and conditions of the
+Eclipse Public License Version 1.0 (&quot;EPL&quot;). A copy of the EPL is available
+at <a href="http://www.eclipse.org/legal/epl-v10.html">http://www.eclipse.org/legal/epl-v10.html</a>.
+For purposes of the EPL, &quot;Program&quot; will mean the Content.</p>
+
+<p>If you did not receive this Content directly from the Eclipse Foundation, the Content is
+being redistributed by another party (&quot;Redistributor&quot;) and different terms and conditions may
+apply to your use of any object code in the Content. Check the Redistributor's license that was
+provided with the Content. If no such license exists, contact the Redistributor. Unless otherwise
+indicated below, the terms and conditions of the EPL still apply to any source code in the Content
+and such source code may be obtained at <a href="/">http://www.eclipse.org</a>.</p>
+
+</body>
+</html> \ No newline at end of file
diff --git a/server-side/examples/bundles/org.eclipse.ecf.examples.remoteservices.common/build.properties b/server-side/examples/bundles/org.eclipse.ecf.examples.remoteservices.common/build.properties
new file mode 100644
index 000000000..5665cc629
--- /dev/null
+++ b/server-side/examples/bundles/org.eclipse.ecf.examples.remoteservices.common/build.properties
@@ -0,0 +1,9 @@
+source.. = src/
+output.. = bin/
+bin.includes = META-INF/,\
+ .,\
+ about.html,\
+ plugin.properties
+src.includes = META-INF/,\
+ about.html,\
+ plugin.properties
diff --git a/server-side/examples/bundles/org.eclipse.ecf.examples.remoteservices.common/plugin.properties b/server-side/examples/bundles/org.eclipse.ecf.examples.remoteservices.common/plugin.properties
new file mode 100644
index 000000000..6e5a2436a
--- /dev/null
+++ b/server-side/examples/bundles/org.eclipse.ecf.examples.remoteservices.common/plugin.properties
@@ -0,0 +1,10 @@
+/****************************************************************************
+* Copyright (c) 2008 Composent Inc. 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
+*
+*****************************************************************************/
+plugin.provider=Eclipse.org
+plugin.name=ECF Examples RemoteServices Common
diff --git a/server-side/examples/bundles/org.eclipse.ecf.examples.remoteservices.common/src/org/eclipse/ecf/examples/remoteservices/common/IConcatService.java b/server-side/examples/bundles/org.eclipse.ecf.examples.remoteservices.common/src/org/eclipse/ecf/examples/remoteservices/common/IConcatService.java
new file mode 100644
index 000000000..f8302045c
--- /dev/null
+++ b/server-side/examples/bundles/org.eclipse.ecf.examples.remoteservices.common/src/org/eclipse/ecf/examples/remoteservices/common/IConcatService.java
@@ -0,0 +1,21 @@
+/****************************************************************************
+ * Copyright (c) 2008 Composent, Inc. 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:
+ * Composent, Inc. - initial API and implementation
+ *****************************************************************************/
+
+package org.eclipse.ecf.examples.remoteservices.common;
+
+/**
+ *
+ */
+public interface IConcatService {
+
+ public String concat(String first, String second);
+
+}
diff --git a/server-side/examples/bundles/org.eclipse.ecf.examples.remoteservices.common/src/org/eclipse/ecf/internal/examples/remoteservices/common/Activator.java b/server-side/examples/bundles/org.eclipse.ecf.examples.remoteservices.common/src/org/eclipse/ecf/internal/examples/remoteservices/common/Activator.java
new file mode 100644
index 000000000..83131a2b0
--- /dev/null
+++ b/server-side/examples/bundles/org.eclipse.ecf.examples.remoteservices.common/src/org/eclipse/ecf/internal/examples/remoteservices/common/Activator.java
@@ -0,0 +1,22 @@
+package org.eclipse.ecf.internal.examples.remoteservices.common;
+
+import org.osgi.framework.BundleActivator;
+import org.osgi.framework.BundleContext;
+
+public class Activator implements BundleActivator {
+
+ /*
+ * (non-Javadoc)
+ * @see org.osgi.framework.BundleActivator#start(org.osgi.framework.BundleContext)
+ */
+ public void start(BundleContext context) throws Exception {
+ }
+
+ /*
+ * (non-Javadoc)
+ * @see org.osgi.framework.BundleActivator#stop(org.osgi.framework.BundleContext)
+ */
+ public void stop(BundleContext context) throws Exception {
+ }
+
+}

Back to the top