
com.cookingfox.chefling.api.command.HasInstanceOrMappingCommand 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;
public interface HasInstanceOrMappingCommand {
/**
* Returns whether a stored instance (from {@link CheflingContainer#getInstance(Class)}) or
* mapping (from the {@link CheflingContainer} `map...` methods) exists for `type`.
*
* @param type The type (class, interface) to check.
* @return 'true' if a stored instance or mapping exists, 'false' otherwise.
*/
boolean hasInstanceOrMapping(Class type);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy