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

com.espertech.esper.runtime.internal.kernel.service.RuntimeExtensionServicesSPI Maven / Gradle / Ivy

/*
 ***************************************************************************************
 *  Copyright (C) 2006 EsperTech, Inc. All rights reserved.                            *
 *  http://www.espertech.com/esper                                                     *
 *  http://www.espertech.com                                                           *
 *  ---------------------------------------------------------------------------------- *
 *  The software in this package is published under the terms of the GPL license       *
 *  a copy of which has been included with this distribution in the license.txt file.  *
 ***************************************************************************************
 */
package com.espertech.esper.runtime.internal.kernel.service;

import com.espertech.esper.common.internal.context.module.RuntimeExtensionServices;
import com.espertech.esper.runtime.internal.kernel.stage.EPStageServiceSPI;

public interface RuntimeExtensionServicesSPI extends RuntimeExtensionServices {
    /**
     * Invoked to initialize extension services after runtime services initialization.
     *
     * @param servicesContext the runtime
     * @param runtimeSPI      runtime SPI
     * @param adminSPI        admin SPI
     * @param stageServiceSPI stage service SPI
     */
    public void init(EPServicesContext servicesContext, EPEventServiceSPI runtimeSPI, EPDeploymentServiceSPI adminSPI, EPStageServiceSPI stageServiceSPI);

    /**
     * Invoked to destroy the extension services, when an existing runtime is initialized.
     */
    public void destroy();

    public boolean isHAEnabled();
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy