sirius.kernel.di.Initializable Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of sirius-kernel Show documentation
Show all versions of sirius-kernel Show documentation
Provides common core classes and the microkernel powering all Sirius applications
/*
* Made with all the love in the world
* by scireum in Remshalden, Germany
*
* Copyright by scireum GmbH
* http://www.scireum.de - [email protected]
*/
package sirius.kernel.di;
/**
* Classes implementing this interface will be invoked, once the {@link Injector} is fully initialized (all annotations
* are processed).
*/
public interface Initializable {
/**
* Invoked by the injector once the system is completely initialized.
*
* Can be used to perform initial actions where access to dependent parts is required.
*
* @throws Exception in case of any error during the initialization.
*/
void initialize() throws Exception;
}