| /** |
| * Copyright (c) 2011 - 2017, Lunifera GmbH (Gross Enzersdorf), Loetz GmbH&Co.KG (Heidelberg) |
| * All rights reserved. This program and the accompanying materials |
| * are made available under the terms of the Eclipse Public License 2.0 |
| * which accompanies this distribution, and is available at |
| * https://www.eclipse.org/legal/epl-2.0/ |
| * |
| * SPDX-License-Identifier: EPL-2.0 |
| * |
| * Contributors: |
| * Loetz GmbH&Co.KG - Initial implementation |
| */ |
| package org.eclipse.osbp.display.servlet; |
| |
| import com.vaadin.server.DeploymentConfiguration; |
| import com.vaadin.server.ServiceException; |
| import com.vaadin.server.VaadinServlet; |
| import com.vaadin.server.VaadinServletService; |
| |
| @SuppressWarnings("serial") |
| public class DisplayServletService extends VaadinServletService { |
| |
| public DisplayServletService(VaadinServlet servlet, |
| DeploymentConfiguration deploymentConfiguration) |
| throws ServiceException { |
| super(servlet, deploymentConfiguration); |
| } |
| |
| @Override |
| public ClassLoader getClassLoader() { |
| // return the bundle classloader |
| // see http://dev.vaadin.com/ticket/15516 |
| return DisplayServletService.class.getClassLoader(); |
| } |
| |
| } |