Skip to main content

Addon startup

Some addons need to execute some code on startup. To achieve this, the startup must implement and declare a SpringService that implements the es.caib.seycon.ng.servei.ApplicationBootService interface.

This interface has two methods that will be called after synchronization server or console startup :

public interface ApplicationBootService {
    /**
     * Operation syncServerBoot - synchronization server engine boot
     */
    void syncServerBoot()
            throws es.caib.seycon.ng.exception.InternalErrorException;
    /**
     * Operation consoleBoot - console boot
     */
    void consoleBoot()
            throws es.caib.seycon.ng.exception.InternalErrorException;
}