All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.cookingfox.chefling.api.command.HasInstanceOrMappingCommand Maven / Gradle / Ivy

Go to download

Chefling is a very minimal dependency injection container written in pure Java.

There is a newer version: 7.1.1
Show newest version
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