From 7de67dc44141f46e687e88b240e2e3e688b6b47e Mon Sep 17 00:00:00 2001 From: felmer <felmer> Date: Wed, 7 Jul 2010 06:15:00 +0000 Subject: [PATCH] replaced by ScreeningApiServiceServer SVN: 16909 --- .../server/ScreeningServiceServer.java | 49 ------------------- 1 file changed, 49 deletions(-) delete mode 100644 screening/source/java/ch/systemsx/cisd/openbis/plugin/screening/server/ScreeningServiceServer.java diff --git a/screening/source/java/ch/systemsx/cisd/openbis/plugin/screening/server/ScreeningServiceServer.java b/screening/source/java/ch/systemsx/cisd/openbis/plugin/screening/server/ScreeningServiceServer.java deleted file mode 100644 index c7a1aa53336..00000000000 --- a/screening/source/java/ch/systemsx/cisd/openbis/plugin/screening/server/ScreeningServiceServer.java +++ /dev/null @@ -1,49 +0,0 @@ -/* - * Copyright 2010 ETH Zuerich, CISD - * - * Licensed 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 ch.systemsx.cisd.openbis.plugin.screening.server; - -import javax.annotation.Resource; - -import org.springframework.remoting.httpinvoker.HttpInvokerServiceExporter; -import org.springframework.stereotype.Controller; -import org.springframework.web.bind.annotation.RequestMapping; - -import ch.systemsx.cisd.openbis.plugin.screening.shared.ResourceNames; -import ch.systemsx.cisd.openbis.plugin.screening.shared.api.v1.IScreeningApiServer; - -/** - * This class exposes the {@link IScreeningApiServer} interface through HTTP invoker. - * - * @author Tomasz Pylak - */ -@Controller -@RequestMapping( - { "/rmi-screening-v1", "/openbis/rmi-screening-v1" }) -public class ScreeningServiceServer extends HttpInvokerServiceExporter -{ - @Resource(name = ResourceNames.SCREENING_PLUGIN_SERVER) - private IScreeningApiServer server; - - @Override - public void afterPropertiesSet() - { - setServiceInterface(IScreeningApiServer.class); - setService(server); - super.afterPropertiesSet(); - } - -} -- GitLab