All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.vaadin.server.ServiceDestroyEvent Maven / Gradle / Ivy

There is a newer version: 8.27.3
Show newest version
/*
 * Copyright (C) 2000-2024 Vaadin Ltd
 *
 * This program is available under Vaadin Commercial License and Service Terms.
 *
 * See  for the full
 * license.
 */

package com.vaadin.server;

import java.util.EventObject;

/**
 * Event fired to {@link ServiceDestroyListener} when a {@link VaadinService} is
 * being destroyed.
 *
 * @since 7.2
 * @author Vaadin Ltd
 */
public class ServiceDestroyEvent extends EventObject {

    /**
     * Creates a new event for the given service.
     *
     * @param service
     *            the service being destroyed
     */
    public ServiceDestroyEvent(VaadinService service) {
        super(service);
    }

    /*
     * (non-Javadoc)
     *
     * @see java.util.EventObject#getSource()
     */
    @Override
    public VaadinService getSource() {
        return (VaadinService) super.getSource();
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy