From 3a59e792ac703cd08b03519427a8b1f50145da8e Mon Sep 17 00:00:00 2001 From: slaws Date: Wed, 29 Jun 2011 19:47:15 +0000 Subject: TUSCANY-3891 - Commit Guilherme's first patch contain the template of the code for implementation.scala git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1141219 13f79535-47bb-0310-9956-ffa450edef68 --- .../provider/ScalaImplementationProvider.java | 55 ++++++++++++++++++++++ 1 file changed, 55 insertions(+) create mode 100644 collaboration/GSoC-2011-Guilherme/modules/implementation-scala-runtime/src/main/java/org/apache/tuscany/sca/implementation/scala/provider/ScalaImplementationProvider.java (limited to 'collaboration/GSoC-2011-Guilherme/modules/implementation-scala-runtime/src/main/java/org/apache/tuscany/sca/implementation/scala/provider/ScalaImplementationProvider.java') diff --git a/collaboration/GSoC-2011-Guilherme/modules/implementation-scala-runtime/src/main/java/org/apache/tuscany/sca/implementation/scala/provider/ScalaImplementationProvider.java b/collaboration/GSoC-2011-Guilherme/modules/implementation-scala-runtime/src/main/java/org/apache/tuscany/sca/implementation/scala/provider/ScalaImplementationProvider.java new file mode 100644 index 0000000000..51dd8512b1 --- /dev/null +++ b/collaboration/GSoC-2011-Guilherme/modules/implementation-scala-runtime/src/main/java/org/apache/tuscany/sca/implementation/scala/provider/ScalaImplementationProvider.java @@ -0,0 +1,55 @@ +/* + * 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 org.apache.tuscany.sca.implementation.scala.provider; + +import org.apache.tuscany.sca.interfacedef.Operation; +import org.apache.tuscany.sca.invocation.Invoker; +import org.apache.tuscany.sca.provider.ImplementationProvider; +import org.apache.tuscany.sca.runtime.RuntimeComponentService; + + +public class ScalaImplementationProvider implements ImplementationProvider{ + + @Override + public Invoker createInvoker(RuntimeComponentService service, + Operation operation) { + // TODO Auto-generated method stub + return null; + } + + @Override + public boolean supportsOneWayInvocation() { + // TODO Auto-generated method stub + return false; + } + + @Override + public void start() { + // TODO Auto-generated method stub + + } + + @Override + public void stop() { + // TODO Auto-generated method stub + + } + +} -- cgit v1.2.3