
com.cookingfox.chefling.api.command.ValidateContainerCommand Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of chefling-di-java Show documentation
Show all versions of chefling-di-java Show documentation
Chefling is a very minimal dependency injection container written in pure Java.
package com.cookingfox.chefling.api.command;
import com.cookingfox.chefling.api.CheflingContainer;
import com.cookingfox.chefling.api.exception.ContainerException;
public interface ValidateContainerCommand {
/**
* Attempts to recursively resolve all mappings of the current container, its parents and its
* children. This operation uses {@link CheflingContainer#getInstance(Class)}. This is useful
* during development to validate the container configuration. Do NOT use this method in
* production, since it overrides the "lazy loading" ability of the container!
*
* @throws ContainerException when an error occurs.
* @see CheflingContainer#getInstance(Class)
*/
void validateContainer();
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy