org.lunifera.ecview.servlet.mobile.impl.ServletService.java Source code

Java tutorial

Introduction

Here is the source code for org.lunifera.ecview.servlet.mobile.impl.ServletService.java

Source

/**
 * Copyright (c) 2011 - 2015, Lunifera GmbH (Gross Enzersdorf), Loetz KG (Heidelberg)
 * 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
 *
 * Contributors:
 *         Florian Pirchner - Initial implementation
 */
package org.lunifera.ecview.servlet.mobile.impl;

import com.vaadin.server.DeploymentConfiguration;
import com.vaadin.server.ServiceException;
import com.vaadin.server.VaadinServlet;
import com.vaadin.server.VaadinServletService;

@SuppressWarnings("serial")
public class ServletService extends VaadinServletService {

    public ServletService(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 ServletService.class.getClassLoader();
    }

}