Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorslewis2014-04-12 03:07:46 +0000
committerslewis2014-04-12 03:07:46 +0000
commit4ba9741d1b3e8856a1e7d0987e2f94b31a8737cb (patch)
tree9c05c65684eec49b796dce104bcd85d2a0d93331
parent74fe5a316aa58363f2b762f0301da00a1bacd07f (diff)
downloadorg.eclipse.ecf-4ba9741d1b3e8856a1e7d0987e2f94b31a8737cb.tar.gz
org.eclipse.ecf-4ba9741d1b3e8856a1e7d0987e2f94b31a8737cb.tar.xz
org.eclipse.ecf-4ba9741d1b3e8856a1e7d0987e2f94b31a8737cb.zip
Added ITimeServiceAsync for < j8 ITimeService
-rw-r--r--examples/bundles/com.mycorp.examples.timeservice/META-INF/MANIFEST.MF2
-rw-r--r--examples/bundles/com.mycorp.examples.timeservice/src/com/mycorp/examples/timeservice/ITimeServiceAsync.java19
2 files changed, 20 insertions, 1 deletions
diff --git a/examples/bundles/com.mycorp.examples.timeservice/META-INF/MANIFEST.MF b/examples/bundles/com.mycorp.examples.timeservice/META-INF/MANIFEST.MF
index ca40035b8..404197a35 100644
--- a/examples/bundles/com.mycorp.examples.timeservice/META-INF/MANIFEST.MF
+++ b/examples/bundles/com.mycorp.examples.timeservice/META-INF/MANIFEST.MF
@@ -2,7 +2,7 @@ Manifest-Version: 1.0
Bundle-ManifestVersion: 2
Bundle-Name: ECF RS Example Timeservice API
Bundle-SymbolicName: com.mycorp.examples.timeservice
-Bundle-Version: 1.0.0.qualifier
+Bundle-Version: 1.1.0.qualifier
Bundle-Vendor: Eclipse.org - ECF
Bundle-RequiredExecutionEnvironment: J2SE-1.5
Bundle-ActivationPolicy: lazy
diff --git a/examples/bundles/com.mycorp.examples.timeservice/src/com/mycorp/examples/timeservice/ITimeServiceAsync.java b/examples/bundles/com.mycorp.examples.timeservice/src/com/mycorp/examples/timeservice/ITimeServiceAsync.java
new file mode 100644
index 000000000..79e9a7ac2
--- /dev/null
+++ b/examples/bundles/com.mycorp.examples.timeservice/src/com/mycorp/examples/timeservice/ITimeServiceAsync.java
@@ -0,0 +1,19 @@
+/*******************************************************************************
+ * Copyright (c) 2014 Composent, Inc. 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: Scott Lewis - initial API and implementation
+ ******************************************************************************/
+package com.mycorp.examples.timeservice;
+
+import java.util.concurrent.Future;
+
+/**
+ * @since 1.1
+ */
+public interface ITimeServiceAsync {
+
+ public Future<Long> getCurrentTimeAsync();
+}

Back to the top