diff options
author | slewis | 2014-04-12 03:07:46 +0000 |
---|---|---|
committer | slewis | 2014-04-12 03:07:46 +0000 |
commit | 4ba9741d1b3e8856a1e7d0987e2f94b31a8737cb (patch) | |
tree | 9c05c65684eec49b796dce104bcd85d2a0d93331 | |
parent | 74fe5a316aa58363f2b762f0301da00a1bacd07f (diff) | |
download | org.eclipse.ecf-4ba9741d1b3e8856a1e7d0987e2f94b31a8737cb.tar.gz org.eclipse.ecf-4ba9741d1b3e8856a1e7d0987e2f94b31a8737cb.tar.xz org.eclipse.ecf-4ba9741d1b3e8856a1e7d0987e2f94b31a8737cb.zip |
Added ITimeServiceAsync for < j8 ITimeService
Change-Id: Id6c2e7d3b8d23fbc512653083a129d1f8ce3309c
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(); +} |