diff options
author | slaws <slaws@13f79535-47bb-0310-9956-ffa450edef68> | 2008-11-19 09:26:46 +0000 |
---|---|---|
committer | slaws <slaws@13f79535-47bb-0310-9956-ffa450edef68> | 2008-11-19 09:26:46 +0000 |
commit | d417aa104869ba1fa9861e236919a407c2bfe506 (patch) | |
tree | 9795e7167b325620cd9a81892f810f90bef6d854 /sandbox/slaws/scheduler/src/main/java/scheduler/Scheduler.java | |
parent | c5913aa2cb30d5fc75d13260bb596d7dd8433bac (diff) |
Add a simple test to experiment with Bob's scenario from the ML
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@718913 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'sandbox/slaws/scheduler/src/main/java/scheduler/Scheduler.java')
-rw-r--r-- | sandbox/slaws/scheduler/src/main/java/scheduler/Scheduler.java | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/sandbox/slaws/scheduler/src/main/java/scheduler/Scheduler.java b/sandbox/slaws/scheduler/src/main/java/scheduler/Scheduler.java new file mode 100644 index 0000000000..d9eeb5aad1 --- /dev/null +++ b/sandbox/slaws/scheduler/src/main/java/scheduler/Scheduler.java @@ -0,0 +1,33 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +package scheduler; + + +import org.osoa.sca.ServiceReference; +import org.osoa.sca.annotations.Remotable; + +import worker.Worker; + +@Remotable +public interface Scheduler { + + void addWorker(String name, ServiceReference reference); + void removeWorker(String name); + +} |