
com.cookingfox.chefling.api.command.AddChildContainerCommand 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 AddChildContainerCommand {
/**
* Add a child container. This allows for a modular approach to configuration.
*
* @param container The child container to add.
* @throws ContainerException when the child is invalid or already added, or when the child
* contains duplicate mappings to the container it is being added to.
* @see CheflingContainer#setParentContainer(CheflingContainer)
*/
void addChildContainer(CheflingContainer container);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy