/* * Copyright Siemens AG, 2016. Part of the SW360 Portal Project. * * 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 */ package org.eclipse.sw360.vulnerabilities; import org.eclipse.sw360.datahandler.thrift.SW360Exception; import org.eclipse.sw360.datahandler.thrift.vulnerabilities.VulnerabilityService; import org.eclipse.sw360.projects.Sw360ThriftServlet; import org.apache.thrift.protocol.TCompactProtocol; import java.io.IOException; /** * Thrift Servlet instantiation * * @author stefan.jaeger@evosoft.com */ public class VulnerabilityServlet extends Sw360ThriftServlet { public VulnerabilityServlet() throws IOException, SW360Exception { // Create a service processor using the provided handler super(new VulnerabilityService.Processor<>(new VulnerabilityHandler()), new TCompactProtocol.Factory()); } }